﻿


using System;
using System.Data;
using System.Data.Common;
using MySoft.Data;
using MySoft.Data.Common;

namespace SDLITS.Model
{
	
	#region 实体类AddressBook
    /// <summary>
	/// 实体类AddressBook 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class AddressBook : Entity 
	{
	 /// <summary>
	/// 实体类AddressBook 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public AddressBook():base("AddressBook") {}

		#region Model

		
		private int _AddrID;//;
		
		private string _Address;//;
		
		private string _Name;//;
		
		private bool? _Sex;//;
		
		private string _Company;//;
		
		private string _Phone;//;
		
		private string _Cell;//;
		
		private string _Email;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _Note;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int AddrID
		{
			get{ 
				return _AddrID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AddrID,_AddrID,value);
				this._AddrID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Address
		{
			get{ 
				return _Address;
			 }
			set
			{
				this.OnPropertyValueChange(_.Address,_Address,value);
				this._Address=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? Sex
		{
			get{ 
				return _Sex;
			 }
			set
			{
				this.OnPropertyValueChange(_.Sex,_Sex,value);
				this._Sex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Company
		{
			get{ 
				return _Company;
			 }
			set
			{
				this.OnPropertyValueChange(_.Company,_Company,value);
				this._Company=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Cell
		{
			get{ 
				return _Cell;
			 }
			set
			{
				this.OnPropertyValueChange(_.Cell,_Cell,value);
				this._Cell=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Email
		{
			get{ 
				return _Email;
			 }
			set
			{
				this.OnPropertyValueChange(_.Email,_Email,value);
				this._Email=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Note
		{
			get{ 
				return _Note;
			 }
			set
			{
				this.OnPropertyValueChange(_.Note,_Note,value);
				this._Note=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.AddrID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.AddrID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.AddrID,

			
			_.Address,

			
			_.Name,

			
			_.Sex,

			
			_.Company,

			
			_.Phone,

			
			_.Cell,

			
			_.Email,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.Note

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._AddrID,

			
			this._Address,

			
			this._Name,

			
			this._Sex,

			
			this._Company,

			
			this._Phone,

			
			this._Cell,

			
			this._Email,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._Note

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._AddrID = DataUtils.ConvertValue<int>(reader["AddrID"]);
						this._Address = DataUtils.ConvertValue<string>(reader["Address"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._Sex = DataUtils.ConvertValue<bool?>(reader["Sex"]);
						this._Company = DataUtils.ConvertValue<string>(reader["Company"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._Cell = DataUtils.ConvertValue<string>(reader["Cell"]);
						this._Email = DataUtils.ConvertValue<string>(reader["Email"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._Note = DataUtils.ConvertValue<string>(reader["Note"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._AddrID = DataUtils.ConvertValue<int>(row["AddrID"]);
					this._Address = DataUtils.ConvertValue<string>(row["Address"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._Sex = DataUtils.ConvertValue<bool?>(row["Sex"]);
					this._Company = DataUtils.ConvertValue<string>(row["Company"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._Cell = DataUtils.ConvertValue<string>(row["Cell"]);
					this._Email = DataUtils.ConvertValue<string>(row["Email"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._Note = DataUtils.ConvertValue<string>(row["Note"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","AddressBook");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddrID = new Field("AddrID","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Address = new Field("Address","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sex = new Field("Sex","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Company = new Field("Company","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Cell = new Field("Cell","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Email = new Field("Email","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","AddressBook","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Note = new Field("Note","AddressBook","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Advertisement
    /// <summary>
	/// 实体类Advertisement 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Advertisement : Entity 
	{
	 /// <summary>
	/// 实体类Advertisement 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Advertisement():base("Advertisement") {}

		#region Model

		
		private int _AdID;//;
		
		private string _Title;//;
		
		private string _Description;//;
		
		private int? _StatusID;//;
		
		private bool? _IsHot;//;
		
		private DateTime? _StartDate;//;
		
		private DateTime? _EndDate;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int AdID
		{
			get{ 
				return _AdID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AdID,_AdID,value);
				this._AdID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Title
		{
			get{ 
				return _Title;
			 }
			set
			{
				this.OnPropertyValueChange(_.Title,_Title,value);
				this._Title=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsHot
		{
			get{ 
				return _IsHot;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsHot,_IsHot,value);
				this._IsHot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDate
		{
			get{ 
				return _StartDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartDate,_StartDate,value);
				this._StartDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EndDate
		{
			get{ 
				return _EndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndDate,_EndDate,value);
				this._EndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.AdID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.AdID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.AdID,

			
			_.Title,

			
			_.Description,

			
			_.StatusID,

			
			_.IsHot,

			
			_.StartDate,

			
			_.EndDate,

			
			_.CreateDate,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._AdID,

			
			this._Title,

			
			this._Description,

			
			this._StatusID,

			
			this._IsHot,

			
			this._StartDate,

			
			this._EndDate,

			
			this._CreateDate,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._AdID = DataUtils.ConvertValue<int>(reader["AdID"]);
						this._Title = DataUtils.ConvertValue<string>(reader["Title"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._IsHot = DataUtils.ConvertValue<bool?>(reader["IsHot"]);
						this._StartDate = DataUtils.ConvertValue<DateTime?>(reader["StartDate"]);
						this._EndDate = DataUtils.ConvertValue<DateTime?>(reader["EndDate"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._AdID = DataUtils.ConvertValue<int>(row["AdID"]);
					this._Title = DataUtils.ConvertValue<string>(row["Title"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._IsHot = DataUtils.ConvertValue<bool?>(row["IsHot"]);
					this._StartDate = DataUtils.ConvertValue<DateTime?>(row["StartDate"]);
					this._EndDate = DataUtils.ConvertValue<DateTime?>(row["EndDate"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Advertisement");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field AdID = new Field("AdID","Advertisement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Title = new Field("Title","Advertisement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","Advertisement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Advertisement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsHot = new Field("IsHot","Advertisement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartDate = new Field("StartDate","Advertisement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndDate = new Field("EndDate","Advertisement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Advertisement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","Advertisement","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类AdvertisementPhoto
    /// <summary>
	/// 实体类AdvertisementPhoto 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class AdvertisementPhoto : Entity 
	{
	 /// <summary>
	/// 实体类AdvertisementPhoto 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public AdvertisementPhoto():base("AdvertisementPhoto") {}

		#region Model

		
		private int _PhotoID;//;
		
		private int _AdID;//;
		
		private byte[] _AdPhoto;//;
		
		private string _ImageName;//;
		
		private string _Description;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int PhotoID
		{
			get{ 
				return _PhotoID;
			 }
			set
			{
				this.OnPropertyValueChange(_.PhotoID,_PhotoID,value);
				this._PhotoID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int AdID
		{
			get{ 
				return _AdID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AdID,_AdID,value);
				this._AdID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public byte[] AdPhoto
		{
			get{ 
				return _AdPhoto;
			 }
			set
			{
				this.OnPropertyValueChange(_.AdPhoto,_AdPhoto,value);
				this._AdPhoto=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ImageName
		{
			get{ 
				return _ImageName;
			 }
			set
			{
				this.OnPropertyValueChange(_.ImageName,_ImageName,value);
				this._ImageName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.PhotoID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.PhotoID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.PhotoID,

			
			_.AdID,

			
			_.AdPhoto,

			
			_.ImageName,

			
			_.Description

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._PhotoID,

			
			this._AdID,

			
			this._AdPhoto,

			
			this._ImageName,

			
			this._Description

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._PhotoID = DataUtils.ConvertValue<int>(reader["PhotoID"]);
						this._AdID = DataUtils.ConvertValue<int>(reader["AdID"]);
						this._AdPhoto = DataUtils.ConvertValue<byte[]>(reader["AdPhoto"]);
						this._ImageName = DataUtils.ConvertValue<string>(reader["ImageName"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._PhotoID = DataUtils.ConvertValue<int>(row["PhotoID"]);
					this._AdID = DataUtils.ConvertValue<int>(row["AdID"]);
					this._AdPhoto = DataUtils.ConvertValue<byte[]>(row["AdPhoto"]);
					this._ImageName = DataUtils.ConvertValue<string>(row["ImageName"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","AdvertisementPhoto");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field PhotoID = new Field("PhotoID","AdvertisementPhoto","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AdID = new Field("AdID","AdvertisementPhoto","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AdPhoto = new Field("AdPhoto","AdvertisementPhoto","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ImageName = new Field("ImageName","AdvertisementPhoto","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","AdvertisementPhoto","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Announcement
    /// <summary>
	/// 实体类Announcement 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Announcement : Entity 
	{
	 /// <summary>
	/// 实体类Announcement 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Announcement():base("Announcement") {}

		#region Model

		
		private int _AnnID;//;
		
		private string _Title;//;
		
		private string _Description;//;
		
		private int? _StatusID;//;
		
		private bool? _IsHot;//;
		
		private DateTime? _StartDate;//;
		
		private DateTime? _EndDate;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int AnnID
		{
			get{ 
				return _AnnID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AnnID,_AnnID,value);
				this._AnnID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Title
		{
			get{ 
				return _Title;
			 }
			set
			{
				this.OnPropertyValueChange(_.Title,_Title,value);
				this._Title=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsHot
		{
			get{ 
				return _IsHot;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsHot,_IsHot,value);
				this._IsHot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDate
		{
			get{ 
				return _StartDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartDate,_StartDate,value);
				this._StartDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EndDate
		{
			get{ 
				return _EndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndDate,_EndDate,value);
				this._EndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.AnnID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.AnnID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.AnnID,

			
			_.Title,

			
			_.Description,

			
			_.StatusID,

			
			_.IsHot,

			
			_.StartDate,

			
			_.EndDate,

			
			_.CreateDate,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._AnnID,

			
			this._Title,

			
			this._Description,

			
			this._StatusID,

			
			this._IsHot,

			
			this._StartDate,

			
			this._EndDate,

			
			this._CreateDate,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._AnnID = DataUtils.ConvertValue<int>(reader["AnnID"]);
						this._Title = DataUtils.ConvertValue<string>(reader["Title"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._IsHot = DataUtils.ConvertValue<bool?>(reader["IsHot"]);
						this._StartDate = DataUtils.ConvertValue<DateTime?>(reader["StartDate"]);
						this._EndDate = DataUtils.ConvertValue<DateTime?>(reader["EndDate"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._AnnID = DataUtils.ConvertValue<int>(row["AnnID"]);
					this._Title = DataUtils.ConvertValue<string>(row["Title"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._IsHot = DataUtils.ConvertValue<bool?>(row["IsHot"]);
					this._StartDate = DataUtils.ConvertValue<DateTime?>(row["StartDate"]);
					this._EndDate = DataUtils.ConvertValue<DateTime?>(row["EndDate"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Announcement");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field AnnID = new Field("AnnID","Announcement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Title = new Field("Title","Announcement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","Announcement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Announcement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsHot = new Field("IsHot","Announcement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartDate = new Field("StartDate","Announcement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndDate = new Field("EndDate","Announcement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Announcement","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","Announcement","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类AppException
    /// <summary>
	/// 实体类AppException 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class AppException : Entity 
	{
	 /// <summary>
	/// 实体类AppException 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public AppException():base("AppException") {}

		#region Model

		
		private int _ID;//;
		
		private string _Memcardno;//;
		
		private string _Stacktrace;//;
		
		private DateTime? _Addtime;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ 
				return _ID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Memcardno
		{
			get{ 
				return _Memcardno;
			 }
			set
			{
				this.OnPropertyValueChange(_.Memcardno,_Memcardno,value);
				this._Memcardno=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Stacktrace
		{
			get{ 
				return _Stacktrace;
			 }
			set
			{
				this.OnPropertyValueChange(_.Stacktrace,_Stacktrace,value);
				this._Stacktrace=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? Addtime
		{
			get{ 
				return _Addtime;
			 }
			set
			{
				this.OnPropertyValueChange(_.Addtime,_Addtime,value);
				this._Addtime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Memcardno,

			
			_.Stacktrace,

			
			_.Addtime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Memcardno,

			
			this._Stacktrace,

			
			this._Addtime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Memcardno = DataUtils.ConvertValue<string>(reader["Memcardno"]);
						this._Stacktrace = DataUtils.ConvertValue<string>(reader["Stacktrace"]);
						this._Addtime = DataUtils.ConvertValue<DateTime?>(reader["Addtime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Memcardno = DataUtils.ConvertValue<string>(row["Memcardno"]);
					this._Stacktrace = DataUtils.ConvertValue<string>(row["Stacktrace"]);
					this._Addtime = DataUtils.ConvertValue<DateTime?>(row["Addtime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","AppException");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","AppException","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Memcardno = new Field("Memcardno","AppException","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Stacktrace = new Field("Stacktrace","AppException","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Addtime = new Field("Addtime","AppException","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类AppFeedback
    /// <summary>
	/// 实体类AppFeedback 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class AppFeedback : Entity 
	{
	 /// <summary>
	/// 实体类AppFeedback 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public AppFeedback():base("AppFeedback") {}

		#region Model

		
		private int _ID;//;
		
		private string _Memcardno;//;
		
		private string _Feedback;//;
		
		private DateTime? _Addtime;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ 
				return _ID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Memcardno
		{
			get{ 
				return _Memcardno;
			 }
			set
			{
				this.OnPropertyValueChange(_.Memcardno,_Memcardno,value);
				this._Memcardno=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Feedback
		{
			get{ 
				return _Feedback;
			 }
			set
			{
				this.OnPropertyValueChange(_.Feedback,_Feedback,value);
				this._Feedback=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? Addtime
		{
			get{ 
				return _Addtime;
			 }
			set
			{
				this.OnPropertyValueChange(_.Addtime,_Addtime,value);
				this._Addtime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Memcardno,

			
			_.Feedback,

			
			_.Addtime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Memcardno,

			
			this._Feedback,

			
			this._Addtime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Memcardno = DataUtils.ConvertValue<string>(reader["Memcardno"]);
						this._Feedback = DataUtils.ConvertValue<string>(reader["Feedback"]);
						this._Addtime = DataUtils.ConvertValue<DateTime?>(reader["Addtime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Memcardno = DataUtils.ConvertValue<string>(row["Memcardno"]);
					this._Feedback = DataUtils.ConvertValue<string>(row["Feedback"]);
					this._Addtime = DataUtils.ConvertValue<DateTime?>(row["Addtime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","AppFeedback");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","AppFeedback","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Memcardno = new Field("Memcardno","AppFeedback","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Feedback = new Field("Feedback","AppFeedback","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Addtime = new Field("Addtime","AppFeedback","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Area
    /// <summary>
	/// 实体类Area 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Area : Entity 
	{
	 /// <summary>
	/// 实体类Area 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Area():base("Area") {}

		#region Model

		
		private int _AreaID;//;
		
		private string _AreaNo;//;
		
		private string _AreaName;//;
		
		private string _Description;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int AreaID
		{
			get{ 
				return _AreaID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaID,_AreaID,value);
				this._AreaID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string AreaNo
		{
			get{ 
				return _AreaNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaNo,_AreaNo,value);
				this._AreaNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string AreaName
		{
			get{ 
				return _AreaName;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaName,_AreaName,value);
				this._AreaName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.AreaID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.AreaID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.AreaID,

			
			_.AreaNo,

			
			_.AreaName,

			
			_.Description,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._AreaID,

			
			this._AreaNo,

			
			this._AreaName,

			
			this._Description,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._AreaID = DataUtils.ConvertValue<int>(reader["AreaID"]);
						this._AreaNo = DataUtils.ConvertValue<string>(reader["AreaNo"]);
						this._AreaName = DataUtils.ConvertValue<string>(reader["AreaName"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._AreaID = DataUtils.ConvertValue<int>(row["AreaID"]);
					this._AreaNo = DataUtils.ConvertValue<string>(row["AreaNo"]);
					this._AreaName = DataUtils.ConvertValue<string>(row["AreaName"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Area");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaID = new Field("AreaID","Area","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaNo = new Field("AreaNo","Area","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaName = new Field("AreaName","Area","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","Area","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Area","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Area","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","Area","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类BounsPlan
    /// <summary>
	/// 实体类BounsPlan 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class BounsPlan : Entity 
	{
	 /// <summary>
	/// 实体类BounsPlan 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public BounsPlan():base("BounsPlan") {}

		#region Model

		
		private int _BounsPlanID;//;
		
		private decimal? _Income;//;
		
		private string _Name;//;
		
		private decimal _Money;//;
		
		private int _DayNumber;//;
		
		private int _Times;//;
		
		private int _MemTypeID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int BounsPlanID
		{
			get{ 
				return _BounsPlanID;
			 }
			set
			{
				this.OnPropertyValueChange(_.BounsPlanID,_BounsPlanID,value);
				this._BounsPlanID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Income
		{
			get{ 
				return _Income;
			 }
			set
			{
				this.OnPropertyValueChange(_.Income,_Income,value);
				this._Income=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal Money
		{
			get{ 
				return _Money;
			 }
			set
			{
				this.OnPropertyValueChange(_.Money,_Money,value);
				this._Money=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int DayNumber
		{
			get{ 
				return _DayNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.DayNumber,_DayNumber,value);
				this._DayNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int Times
		{
			get{ 
				return _Times;
			 }
			set
			{
				this.OnPropertyValueChange(_.Times,_Times,value);
				this._Times=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int MemTypeID
		{
			get{ 
				return _MemTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemTypeID,_MemTypeID,value);
				this._MemTypeID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.BounsPlanID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.BounsPlanID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.BounsPlanID,

			
			_.Income,

			
			_.Name,

			
			_.Money,

			
			_.DayNumber,

			
			_.Times,

			
			_.MemTypeID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._BounsPlanID,

			
			this._Income,

			
			this._Name,

			
			this._Money,

			
			this._DayNumber,

			
			this._Times,

			
			this._MemTypeID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._BounsPlanID = DataUtils.ConvertValue<int>(reader["BounsPlanID"]);
						this._Income = DataUtils.ConvertValue<decimal?>(reader["Income"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._Money = DataUtils.ConvertValue<decimal>(reader["Money"]);
						this._DayNumber = DataUtils.ConvertValue<int>(reader["DayNumber"]);
						this._Times = DataUtils.ConvertValue<int>(reader["Times"]);
						this._MemTypeID = DataUtils.ConvertValue<int>(reader["MemTypeID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._BounsPlanID = DataUtils.ConvertValue<int>(row["BounsPlanID"]);
					this._Income = DataUtils.ConvertValue<decimal?>(row["Income"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._Money = DataUtils.ConvertValue<decimal>(row["Money"]);
					this._DayNumber = DataUtils.ConvertValue<int>(row["DayNumber"]);
					this._Times = DataUtils.ConvertValue<int>(row["Times"]);
					this._MemTypeID = DataUtils.ConvertValue<int>(row["MemTypeID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","BounsPlan");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field BounsPlanID = new Field("BounsPlanID","BounsPlan","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Income = new Field("Income","BounsPlan","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","BounsPlan","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Money = new Field("Money","BounsPlan","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DayNumber = new Field("DayNumber","BounsPlan","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Times = new Field("Times","BounsPlan","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemTypeID = new Field("MemTypeID","BounsPlan","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类CardExpenseLog
    /// <summary>
	/// 实体类CardExpenseLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class CardExpenseLog : Entity 
	{
	 /// <summary>
	/// 实体类CardExpenseLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public CardExpenseLog():base("CardExpenseLog") {}

		#region Model

		
		private int _CardExpenseLogID;//;
		
		private int? _CardExpenseTypeID;//;
		
		private decimal? _Amount;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _MemCardID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int CardExpenseLogID
		{
			get{ 
				return _CardExpenseLogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CardExpenseLogID,_CardExpenseLogID,value);
				this._CardExpenseLogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CardExpenseTypeID
		{
			get{ 
				return _CardExpenseTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CardExpenseTypeID,_CardExpenseTypeID,value);
				this._CardExpenseTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Amount
		{
			get{ 
				return _Amount;
			 }
			set
			{
				this.OnPropertyValueChange(_.Amount,_Amount,value);
				this._Amount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.CardExpenseLogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.CardExpenseLogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.CardExpenseLogID,

			
			_.CardExpenseTypeID,

			
			_.Amount,

			
			_.CreateDate,

			
			_.MemCardID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._CardExpenseLogID,

			
			this._CardExpenseTypeID,

			
			this._Amount,

			
			this._CreateDate,

			
			this._MemCardID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._CardExpenseLogID = DataUtils.ConvertValue<int>(reader["CardExpenseLogID"]);
						this._CardExpenseTypeID = DataUtils.ConvertValue<int?>(reader["CardExpenseTypeID"]);
						this._Amount = DataUtils.ConvertValue<decimal?>(reader["Amount"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._MemCardID = DataUtils.ConvertValue<int?>(reader["MemCardID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._CardExpenseLogID = DataUtils.ConvertValue<int>(row["CardExpenseLogID"]);
					this._CardExpenseTypeID = DataUtils.ConvertValue<int?>(row["CardExpenseTypeID"]);
					this._Amount = DataUtils.ConvertValue<decimal?>(row["Amount"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._MemCardID = DataUtils.ConvertValue<int?>(row["MemCardID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","CardExpenseLog");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field CardExpenseLogID = new Field("CardExpenseLogID","CardExpenseLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CardExpenseTypeID = new Field("CardExpenseTypeID","CardExpenseLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Amount = new Field("Amount","CardExpenseLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","CardExpenseLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","CardExpenseLog","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类CardExpenseType
    /// <summary>
	/// 实体类CardExpenseType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class CardExpenseType : Entity 
	{
	 /// <summary>
	/// 实体类CardExpenseType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public CardExpenseType():base("CardExpenseType") {}

		#region Model

		
		private int _CardExpenseTypeID;//;
		
		private string _Value;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int CardExpenseTypeID
		{
			get{ 
				return _CardExpenseTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CardExpenseTypeID,_CardExpenseTypeID,value);
				this._CardExpenseTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.CardExpenseTypeID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.CardExpenseTypeID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.CardExpenseTypeID,

			
			_.Value

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._CardExpenseTypeID,

			
			this._Value

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._CardExpenseTypeID = DataUtils.ConvertValue<int>(reader["CardExpenseTypeID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._CardExpenseTypeID = DataUtils.ConvertValue<int>(row["CardExpenseTypeID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","CardExpenseType");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field CardExpenseTypeID = new Field("CardExpenseTypeID","CardExpenseType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","CardExpenseType","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类CardRevenue
    /// <summary>
	/// 实体类CardRevenue 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class CardRevenue : Entity 
	{
	 /// <summary>
	/// 实体类CardRevenue 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public CardRevenue():base("CardRevenue") {}

		#region Model

		
		private int _CardRevenueID;//;
		
		private decimal? _InitialAmount;//;
		
		private decimal? _WorkAmount;//;
		
		private decimal? _BonusAmount;//;
		
		private decimal? _PlusAmount;//;
		
		private int? _PlusDays;//;
		
		private int? _PlusTimes;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _MemcardID;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int CardRevenueID
		{
			get{ 
				return _CardRevenueID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CardRevenueID,_CardRevenueID,value);
				this._CardRevenueID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? InitialAmount
		{
			get{ 
				return _InitialAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.InitialAmount,_InitialAmount,value);
				this._InitialAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? WorkAmount
		{
			get{ 
				return _WorkAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.WorkAmount,_WorkAmount,value);
				this._WorkAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? BonusAmount
		{
			get{ 
				return _BonusAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.BonusAmount,_BonusAmount,value);
				this._BonusAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PlusAmount
		{
			get{ 
				return _PlusAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.PlusAmount,_PlusAmount,value);
				this._PlusAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? PlusDays
		{
			get{ 
				return _PlusDays;
			 }
			set
			{
				this.OnPropertyValueChange(_.PlusDays,_PlusDays,value);
				this._PlusDays=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? PlusTimes
		{
			get{ 
				return _PlusTimes;
			 }
			set
			{
				this.OnPropertyValueChange(_.PlusTimes,_PlusTimes,value);
				this._PlusTimes=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemcardID
		{
			get{ 
				return _MemcardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemcardID,_MemcardID,value);
				this._MemcardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.CardRevenueID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.CardRevenueID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.CardRevenueID,

			
			_.InitialAmount,

			
			_.WorkAmount,

			
			_.BonusAmount,

			
			_.PlusAmount,

			
			_.PlusDays,

			
			_.PlusTimes,

			
			_.CreateDate,

			
			_.MemcardID,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._CardRevenueID,

			
			this._InitialAmount,

			
			this._WorkAmount,

			
			this._BonusAmount,

			
			this._PlusAmount,

			
			this._PlusDays,

			
			this._PlusTimes,

			
			this._CreateDate,

			
			this._MemcardID,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._CardRevenueID = DataUtils.ConvertValue<int>(reader["CardRevenueID"]);
						this._InitialAmount = DataUtils.ConvertValue<decimal?>(reader["InitialAmount"]);
						this._WorkAmount = DataUtils.ConvertValue<decimal?>(reader["WorkAmount"]);
						this._BonusAmount = DataUtils.ConvertValue<decimal?>(reader["BonusAmount"]);
						this._PlusAmount = DataUtils.ConvertValue<decimal?>(reader["PlusAmount"]);
						this._PlusDays = DataUtils.ConvertValue<int?>(reader["PlusDays"]);
						this._PlusTimes = DataUtils.ConvertValue<int?>(reader["PlusTimes"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._MemcardID = DataUtils.ConvertValue<int?>(reader["MemcardID"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._CardRevenueID = DataUtils.ConvertValue<int>(row["CardRevenueID"]);
					this._InitialAmount = DataUtils.ConvertValue<decimal?>(row["InitialAmount"]);
					this._WorkAmount = DataUtils.ConvertValue<decimal?>(row["WorkAmount"]);
					this._BonusAmount = DataUtils.ConvertValue<decimal?>(row["BonusAmount"]);
					this._PlusAmount = DataUtils.ConvertValue<decimal?>(row["PlusAmount"]);
					this._PlusDays = DataUtils.ConvertValue<int?>(row["PlusDays"]);
					this._PlusTimes = DataUtils.ConvertValue<int?>(row["PlusTimes"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._MemcardID = DataUtils.ConvertValue<int?>(row["MemcardID"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","CardRevenue");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field CardRevenueID = new Field("CardRevenueID","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field InitialAmount = new Field("InitialAmount","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field WorkAmount = new Field("WorkAmount","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BonusAmount = new Field("BonusAmount","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PlusAmount = new Field("PlusAmount","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PlusDays = new Field("PlusDays","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PlusTimes = new Field("PlusTimes","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemcardID = new Field("MemcardID","CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","CardRevenue","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Company
    /// <summary>
	/// 实体类Company 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Company : Entity 
	{
	 /// <summary>
	/// 实体类Company 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Company():base("Company") {}

		#region Model

		
		private int _CompanyID;//;
		
		private int? _RoomID;//;
		
		private string _CompanyName;//;
		
		private string _ContactPerson;//;
		
		private string _Phone;//;
		
		private string _Fax;//;
		
		private string _Email;//;
		
		private string _Business;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoomID
		{
			get{ 
				return _RoomID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomID,_RoomID,value);
				this._RoomID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CompanyName
		{
			get{ 
				return _CompanyName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyName,_CompanyName,value);
				this._CompanyName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ContactPerson
		{
			get{ 
				return _ContactPerson;
			 }
			set
			{
				this.OnPropertyValueChange(_.ContactPerson,_ContactPerson,value);
				this._ContactPerson=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Fax
		{
			get{ 
				return _Fax;
			 }
			set
			{
				this.OnPropertyValueChange(_.Fax,_Fax,value);
				this._Fax=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Email
		{
			get{ 
				return _Email;
			 }
			set
			{
				this.OnPropertyValueChange(_.Email,_Email,value);
				this._Email=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Business
		{
			get{ 
				return _Business;
			 }
			set
			{
				this.OnPropertyValueChange(_.Business,_Business,value);
				this._Business=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.CompanyID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.CompanyID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.CompanyID,

			
			_.RoomID,

			
			_.CompanyName,

			
			_.ContactPerson,

			
			_.Phone,

			
			_.Fax,

			
			_.Email,

			
			_.Business,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._CompanyID,

			
			this._RoomID,

			
			this._CompanyName,

			
			this._ContactPerson,

			
			this._Phone,

			
			this._Fax,

			
			this._Email,

			
			this._Business,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._CompanyID = DataUtils.ConvertValue<int>(reader["CompanyID"]);
						this._RoomID = DataUtils.ConvertValue<int?>(reader["RoomID"]);
						this._CompanyName = DataUtils.ConvertValue<string>(reader["CompanyName"]);
						this._ContactPerson = DataUtils.ConvertValue<string>(reader["ContactPerson"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._Fax = DataUtils.ConvertValue<string>(reader["Fax"]);
						this._Email = DataUtils.ConvertValue<string>(reader["Email"]);
						this._Business = DataUtils.ConvertValue<string>(reader["Business"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._CompanyID = DataUtils.ConvertValue<int>(row["CompanyID"]);
					this._RoomID = DataUtils.ConvertValue<int?>(row["RoomID"]);
					this._CompanyName = DataUtils.ConvertValue<string>(row["CompanyName"]);
					this._ContactPerson = DataUtils.ConvertValue<string>(row["ContactPerson"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._Fax = DataUtils.ConvertValue<string>(row["Fax"]);
					this._Email = DataUtils.ConvertValue<string>(row["Email"]);
					this._Business = DataUtils.ConvertValue<string>(row["Business"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Company");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomID = new Field("RoomID","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyName = new Field("CompanyName","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ContactPerson = new Field("ContactPerson","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Fax = new Field("Fax","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Email = new Field("Email","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Business = new Field("Business","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Company","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","Company","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Contract
    /// <summary>
	/// 实体类Contract 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Contract : Entity 
	{
	 /// <summary>
	/// 实体类Contract 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Contract():base("Contract") {}

		#region Model

		
		private int _ContractID;//;
		
		private string _ContractNo;//;
		
		private int? _CompanyID;//;
		
		private int? _StatusID;//;
		
		private int? _StartElecFee;//;
		
		private string _Contractor;//;
		
		private string _Phone;//;
		
		private int? _RoomID;//;
		
		private DateTime? _StartDate;//;
		
		private DateTime? _EndDate;//;
		
		private int? _CompanyCardVol;//;
		
		private int? _SoftCardVol;//;
		
		private string _Note;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _Rent;//;
		
		private string _RentActual;//;
		
		private string _RentManage;//;
		
		private string _RentManageActual;//;
		
		private string _RentDefault;//;
		
		private DateTime? _RentEndDate;//;
		
		private bool? _IsFeeDone;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ContractID
		{
			get{ 
				return _ContractID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ContractID,_ContractID,value);
				this._ContractID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ContractNo
		{
			get{ 
				return _ContractNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.ContractNo,_ContractNo,value);
				this._ContractNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StartElecFee
		{
			get{ 
				return _StartElecFee;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartElecFee,_StartElecFee,value);
				this._StartElecFee=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Contractor
		{
			get{ 
				return _Contractor;
			 }
			set
			{
				this.OnPropertyValueChange(_.Contractor,_Contractor,value);
				this._Contractor=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoomID
		{
			get{ 
				return _RoomID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomID,_RoomID,value);
				this._RoomID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDate
		{
			get{ 
				return _StartDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartDate,_StartDate,value);
				this._StartDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EndDate
		{
			get{ 
				return _EndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndDate,_EndDate,value);
				this._EndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyCardVol
		{
			get{ 
				return _CompanyCardVol;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyCardVol,_CompanyCardVol,value);
				this._CompanyCardVol=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? SoftCardVol
		{
			get{ 
				return _SoftCardVol;
			 }
			set
			{
				this.OnPropertyValueChange(_.SoftCardVol,_SoftCardVol,value);
				this._SoftCardVol=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Note
		{
			get{ 
				return _Note;
			 }
			set
			{
				this.OnPropertyValueChange(_.Note,_Note,value);
				this._Note=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Rent
		{
			get{ 
				return _Rent;
			 }
			set
			{
				this.OnPropertyValueChange(_.Rent,_Rent,value);
				this._Rent=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RentActual
		{
			get{ 
				return _RentActual;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentActual,_RentActual,value);
				this._RentActual=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RentManage
		{
			get{ 
				return _RentManage;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentManage,_RentManage,value);
				this._RentManage=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RentManageActual
		{
			get{ 
				return _RentManageActual;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentManageActual,_RentManageActual,value);
				this._RentManageActual=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RentDefault
		{
			get{ 
				return _RentDefault;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentDefault,_RentDefault,value);
				this._RentDefault=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? RentEndDate
		{
			get{ 
				return _RentEndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentEndDate,_RentEndDate,value);
				this._RentEndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsFeeDone
		{
			get{ 
				return _IsFeeDone;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsFeeDone,_IsFeeDone,value);
				this._IsFeeDone=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ContractID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ContractID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ContractID,

			
			_.ContractNo,

			
			_.CompanyID,

			
			_.StatusID,

			
			_.StartElecFee,

			
			_.Contractor,

			
			_.Phone,

			
			_.RoomID,

			
			_.StartDate,

			
			_.EndDate,

			
			_.CompanyCardVol,

			
			_.SoftCardVol,

			
			_.Note,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.Rent,

			
			_.RentActual,

			
			_.RentManage,

			
			_.RentManageActual,

			
			_.RentDefault,

			
			_.RentEndDate,

			
			_.IsFeeDone

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ContractID,

			
			this._ContractNo,

			
			this._CompanyID,

			
			this._StatusID,

			
			this._StartElecFee,

			
			this._Contractor,

			
			this._Phone,

			
			this._RoomID,

			
			this._StartDate,

			
			this._EndDate,

			
			this._CompanyCardVol,

			
			this._SoftCardVol,

			
			this._Note,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._Rent,

			
			this._RentActual,

			
			this._RentManage,

			
			this._RentManageActual,

			
			this._RentDefault,

			
			this._RentEndDate,

			
			this._IsFeeDone

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ContractID = DataUtils.ConvertValue<int>(reader["ContractID"]);
						this._ContractNo = DataUtils.ConvertValue<string>(reader["ContractNo"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._StartElecFee = DataUtils.ConvertValue<int?>(reader["StartElecFee"]);
						this._Contractor = DataUtils.ConvertValue<string>(reader["Contractor"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._RoomID = DataUtils.ConvertValue<int?>(reader["RoomID"]);
						this._StartDate = DataUtils.ConvertValue<DateTime?>(reader["StartDate"]);
						this._EndDate = DataUtils.ConvertValue<DateTime?>(reader["EndDate"]);
						this._CompanyCardVol = DataUtils.ConvertValue<int?>(reader["CompanyCardVol"]);
						this._SoftCardVol = DataUtils.ConvertValue<int?>(reader["SoftCardVol"]);
						this._Note = DataUtils.ConvertValue<string>(reader["Note"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._Rent = DataUtils.ConvertValue<string>(reader["Rent"]);
						this._RentActual = DataUtils.ConvertValue<string>(reader["RentActual"]);
						this._RentManage = DataUtils.ConvertValue<string>(reader["RentManage"]);
						this._RentManageActual = DataUtils.ConvertValue<string>(reader["RentManageActual"]);
						this._RentDefault = DataUtils.ConvertValue<string>(reader["RentDefault"]);
						this._RentEndDate = DataUtils.ConvertValue<DateTime?>(reader["RentEndDate"]);
						this._IsFeeDone = DataUtils.ConvertValue<bool?>(reader["IsFeeDone"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ContractID = DataUtils.ConvertValue<int>(row["ContractID"]);
					this._ContractNo = DataUtils.ConvertValue<string>(row["ContractNo"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._StartElecFee = DataUtils.ConvertValue<int?>(row["StartElecFee"]);
					this._Contractor = DataUtils.ConvertValue<string>(row["Contractor"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._RoomID = DataUtils.ConvertValue<int?>(row["RoomID"]);
					this._StartDate = DataUtils.ConvertValue<DateTime?>(row["StartDate"]);
					this._EndDate = DataUtils.ConvertValue<DateTime?>(row["EndDate"]);
					this._CompanyCardVol = DataUtils.ConvertValue<int?>(row["CompanyCardVol"]);
					this._SoftCardVol = DataUtils.ConvertValue<int?>(row["SoftCardVol"]);
					this._Note = DataUtils.ConvertValue<string>(row["Note"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._Rent = DataUtils.ConvertValue<string>(row["Rent"]);
					this._RentActual = DataUtils.ConvertValue<string>(row["RentActual"]);
					this._RentManage = DataUtils.ConvertValue<string>(row["RentManage"]);
					this._RentManageActual = DataUtils.ConvertValue<string>(row["RentManageActual"]);
					this._RentDefault = DataUtils.ConvertValue<string>(row["RentDefault"]);
					this._RentEndDate = DataUtils.ConvertValue<DateTime?>(row["RentEndDate"]);
					this._IsFeeDone = DataUtils.ConvertValue<bool?>(row["IsFeeDone"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Contract");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ContractID = new Field("ContractID","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ContractNo = new Field("ContractNo","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartElecFee = new Field("StartElecFee","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Contractor = new Field("Contractor","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomID = new Field("RoomID","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartDate = new Field("StartDate","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndDate = new Field("EndDate","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyCardVol = new Field("CompanyCardVol","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SoftCardVol = new Field("SoftCardVol","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Note = new Field("Note","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Rent = new Field("Rent","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentActual = new Field("RentActual","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentManage = new Field("RentManage","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentManageActual = new Field("RentManageActual","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentDefault = new Field("RentDefault","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentEndDate = new Field("RentEndDate","Contract","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsFeeDone = new Field("IsFeeDone","Contract","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类ContractType
    /// <summary>
	/// 实体类ContractType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class ContractType : Entity 
	{
	 /// <summary>
	/// 实体类ContractType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public ContractType():base("ContractType") {}

		#region Model

		
		private int _ContractTypeID;//;
		
		private string _Value;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ContractTypeID
		{
			get{ 
				return _ContractTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ContractTypeID,_ContractTypeID,value);
				this._ContractTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ContractTypeID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ContractTypeID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ContractTypeID,

			
			_.Value

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ContractTypeID,

			
			this._Value

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ContractTypeID = DataUtils.ConvertValue<int>(reader["ContractTypeID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ContractTypeID = DataUtils.ConvertValue<int>(row["ContractTypeID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","ContractType");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ContractTypeID = new Field("ContractTypeID","ContractType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","ContractType","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Department
    /// <summary>
	/// 实体类Department 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Department : Entity 
	{
	 /// <summary>
	/// 实体类Department 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Department():base("Department") {}

		#region Model

		
		private int _DeptID;//;
		
		private string _DeptName;//;
		
		private string _Phone;//;
		
		private string _Fax;//;
		
		private string _Email;//;
		
		private int? _DirID;//;
		
		private int? _ChargeUserID;//;
		
		private string _BackInfo;//;
		
		private string _UpJob;//;
		
		private int? _TreeLever;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int DeptID
		{
			get{ 
				return _DeptID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptID,_DeptID,value);
				this._DeptID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DeptName
		{
			get{ 
				return _DeptName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptName,_DeptName,value);
				this._DeptName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Fax
		{
			get{ 
				return _Fax;
			 }
			set
			{
				this.OnPropertyValueChange(_.Fax,_Fax,value);
				this._Fax=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Email
		{
			get{ 
				return _Email;
			 }
			set
			{
				this.OnPropertyValueChange(_.Email,_Email,value);
				this._Email=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DirID
		{
			get{ 
				return _DirID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DirID,_DirID,value);
				this._DirID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ChargeUserID
		{
			get{ 
				return _ChargeUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ChargeUserID,_ChargeUserID,value);
				this._ChargeUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string BackInfo
		{
			get{ 
				return _BackInfo;
			 }
			set
			{
				this.OnPropertyValueChange(_.BackInfo,_BackInfo,value);
				this._BackInfo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UpJob
		{
			get{ 
				return _UpJob;
			 }
			set
			{
				this.OnPropertyValueChange(_.UpJob,_UpJob,value);
				this._UpJob=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? TreeLever
		{
			get{ 
				return _TreeLever;
			 }
			set
			{
				this.OnPropertyValueChange(_.TreeLever,_TreeLever,value);
				this._TreeLever=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.DeptID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.DeptID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.DeptID,

			
			_.DeptName,

			
			_.Phone,

			
			_.Fax,

			
			_.Email,

			
			_.DirID,

			
			_.ChargeUserID,

			
			_.BackInfo,

			
			_.UpJob,

			
			_.TreeLever

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._DeptID,

			
			this._DeptName,

			
			this._Phone,

			
			this._Fax,

			
			this._Email,

			
			this._DirID,

			
			this._ChargeUserID,

			
			this._BackInfo,

			
			this._UpJob,

			
			this._TreeLever

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._DeptID = DataUtils.ConvertValue<int>(reader["DeptID"]);
						this._DeptName = DataUtils.ConvertValue<string>(reader["DeptName"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._Fax = DataUtils.ConvertValue<string>(reader["Fax"]);
						this._Email = DataUtils.ConvertValue<string>(reader["Email"]);
						this._DirID = DataUtils.ConvertValue<int?>(reader["DirID"]);
						this._ChargeUserID = DataUtils.ConvertValue<int?>(reader["ChargeUserID"]);
						this._BackInfo = DataUtils.ConvertValue<string>(reader["BackInfo"]);
						this._UpJob = DataUtils.ConvertValue<string>(reader["UpJob"]);
						this._TreeLever = DataUtils.ConvertValue<int?>(reader["TreeLever"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._DeptID = DataUtils.ConvertValue<int>(row["DeptID"]);
					this._DeptName = DataUtils.ConvertValue<string>(row["DeptName"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._Fax = DataUtils.ConvertValue<string>(row["Fax"]);
					this._Email = DataUtils.ConvertValue<string>(row["Email"]);
					this._DirID = DataUtils.ConvertValue<int?>(row["DirID"]);
					this._ChargeUserID = DataUtils.ConvertValue<int?>(row["ChargeUserID"]);
					this._BackInfo = DataUtils.ConvertValue<string>(row["BackInfo"]);
					this._UpJob = DataUtils.ConvertValue<string>(row["UpJob"]);
					this._TreeLever = DataUtils.ConvertValue<int?>(row["TreeLever"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Department");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptID = new Field("DeptID","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptName = new Field("DeptName","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Fax = new Field("Fax","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Email = new Field("Email","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DirID = new Field("DirID","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ChargeUserID = new Field("ChargeUserID","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BackInfo = new Field("BackInfo","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UpJob = new Field("UpJob","Department","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TreeLever = new Field("TreeLever","Department","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Door
    /// <summary>
	/// 实体类Door 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Door : Entity 
	{
	 /// <summary>
	/// 实体类Door 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Door():base("Door") {}

		#region Model

		
		private int _DoorID;//;
		
		private string _DoorName;//;
		
		private string _Description;//;
		
		private string _IPAddr;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int DoorID
		{
			get{ 
				return _DoorID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DoorID,_DoorID,value);
				this._DoorID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DoorName
		{
			get{ 
				return _DoorName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DoorName,_DoorName,value);
				this._DoorName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IPAddr
		{
			get{ 
				return _IPAddr;
			 }
			set
			{
				this.OnPropertyValueChange(_.IPAddr,_IPAddr,value);
				this._IPAddr=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.DoorID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.DoorID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.DoorID,

			
			_.DoorName,

			
			_.Description,

			
			_.IPAddr,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._DoorID,

			
			this._DoorName,

			
			this._Description,

			
			this._IPAddr,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._DoorID = DataUtils.ConvertValue<int>(reader["DoorID"]);
						this._DoorName = DataUtils.ConvertValue<string>(reader["DoorName"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._IPAddr = DataUtils.ConvertValue<string>(reader["IPAddr"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._DoorID = DataUtils.ConvertValue<int>(row["DoorID"]);
					this._DoorName = DataUtils.ConvertValue<string>(row["DoorName"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._IPAddr = DataUtils.ConvertValue<string>(row["IPAddr"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Door");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field DoorID = new Field("DoorID","Door","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DoorName = new Field("DoorName","Door","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","Door","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IPAddr = new Field("IPAddr","Door","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Door","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Door","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","Door","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类EGAudit
    /// <summary>
	/// 实体类EGAudit 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class EGAudit : Entity 
	{
	 /// <summary>
	/// 实体类EGAudit 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public EGAudit():base("EGAudit") {}

		#region Model

		
		private int _LogID;//;
		
		private string _Action;//;
		
		private string _ActionOwner;//;
		
		private string _EGCardNoDoor;//;
		
		private int? _StatusID;//;
		
		private DateTime? _EnterDate;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int LogID
		{
			get{ 
				return _LogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.LogID,_LogID,value);
				this._LogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Action
		{
			get{ 
				return _Action;
			 }
			set
			{
				this.OnPropertyValueChange(_.Action,_Action,value);
				this._Action=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ActionOwner
		{
			get{ 
				return _ActionOwner;
			 }
			set
			{
				this.OnPropertyValueChange(_.ActionOwner,_ActionOwner,value);
				this._ActionOwner=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EGCardNoDoor
		{
			get{ 
				return _EGCardNoDoor;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGCardNoDoor,_EGCardNoDoor,value);
				this._EGCardNoDoor=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EnterDate
		{
			get{ 
				return _EnterDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.EnterDate,_EnterDate,value);
				this._EnterDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.LogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.LogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.LogID,

			
			_.Action,

			
			_.ActionOwner,

			
			_.EGCardNoDoor,

			
			_.StatusID,

			
			_.EnterDate,

			
			_.CreateDate,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._LogID,

			
			this._Action,

			
			this._ActionOwner,

			
			this._EGCardNoDoor,

			
			this._StatusID,

			
			this._EnterDate,

			
			this._CreateDate,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._LogID = DataUtils.ConvertValue<int>(reader["LogID"]);
						this._Action = DataUtils.ConvertValue<string>(reader["Action"]);
						this._ActionOwner = DataUtils.ConvertValue<string>(reader["ActionOwner"]);
						this._EGCardNoDoor = DataUtils.ConvertValue<string>(reader["EGCardNoDoor"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._EnterDate = DataUtils.ConvertValue<DateTime?>(reader["EnterDate"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._LogID = DataUtils.ConvertValue<int>(row["LogID"]);
					this._Action = DataUtils.ConvertValue<string>(row["Action"]);
					this._ActionOwner = DataUtils.ConvertValue<string>(row["ActionOwner"]);
					this._EGCardNoDoor = DataUtils.ConvertValue<string>(row["EGCardNoDoor"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._EnterDate = DataUtils.ConvertValue<DateTime?>(row["EnterDate"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","EGAudit");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field LogID = new Field("LogID","EGAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Action = new Field("Action","EGAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ActionOwner = new Field("ActionOwner","EGAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGCardNoDoor = new Field("EGCardNoDoor","EGAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","EGAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EnterDate = new Field("EnterDate","EGAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","EGAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","EGAudit","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类EGControler
    /// <summary>
	/// 实体类EGControler 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class EGControler : Entity 
	{
	 /// <summary>
	/// 实体类EGControler 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public EGControler():base("EGControler") {}

		#region Model

		
		private int _EGControlerID;//;
		
		private string _SN;//;
		
		private string _IP;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _Name;//;
		
		private string _Description;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int EGControlerID
		{
			get{ 
				return _EGControlerID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGControlerID,_EGControlerID,value);
				this._EGControlerID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string SN
		{
			get{ 
				return _SN;
			 }
			set
			{
				this.OnPropertyValueChange(_.SN,_SN,value);
				this._SN=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IP
		{
			get{ 
				return _IP;
			 }
			set
			{
				this.OnPropertyValueChange(_.IP,_IP,value);
				this._IP=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.EGControlerID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.EGControlerID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.EGControlerID,

			
			_.SN,

			
			_.IP,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.Name,

			
			_.Description

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._EGControlerID,

			
			this._SN,

			
			this._IP,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._Name,

			
			this._Description

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._EGControlerID = DataUtils.ConvertValue<int>(reader["EGControlerID"]);
						this._SN = DataUtils.ConvertValue<string>(reader["SN"]);
						this._IP = DataUtils.ConvertValue<string>(reader["IP"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._EGControlerID = DataUtils.ConvertValue<int>(row["EGControlerID"]);
					this._SN = DataUtils.ConvertValue<string>(row["SN"]);
					this._IP = DataUtils.ConvertValue<string>(row["IP"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","EGControler");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGControlerID = new Field("EGControlerID","EGControler","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SN = new Field("SN","EGControler","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IP = new Field("IP","EGControler","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","EGControler","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","EGControler","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","EGControler","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","EGControler","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","EGControler","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类EGUser
    /// <summary>
	/// 实体类EGUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class EGUser : Entity 
	{
	 /// <summary>
	/// 实体类EGUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public EGUser():base("EGUser") {}

		#region Model

		
		private int _EGUserID;//;
		
		private string _EGCardNo;//;
		
		private string _Name;//;
		
		private int? _DeptID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _EGCardNoDoor;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int EGUserID
		{
			get{ 
				return _EGUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGUserID,_EGUserID,value);
				this._EGUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EGCardNo
		{
			get{ 
				return _EGCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGCardNo,_EGCardNo,value);
				this._EGCardNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DeptID
		{
			get{ 
				return _DeptID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptID,_DeptID,value);
				this._DeptID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EGCardNoDoor
		{
			get{ 
				return _EGCardNoDoor;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGCardNoDoor,_EGCardNoDoor,value);
				this._EGCardNoDoor=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.EGUserID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.EGUserID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.EGUserID,

			
			_.EGCardNo,

			
			_.Name,

			
			_.DeptID,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.EGCardNoDoor

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._EGUserID,

			
			this._EGCardNo,

			
			this._Name,

			
			this._DeptID,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._EGCardNoDoor

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._EGUserID = DataUtils.ConvertValue<int>(reader["EGUserID"]);
						this._EGCardNo = DataUtils.ConvertValue<string>(reader["EGCardNo"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._DeptID = DataUtils.ConvertValue<int?>(reader["DeptID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._EGCardNoDoor = DataUtils.ConvertValue<string>(reader["EGCardNoDoor"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._EGUserID = DataUtils.ConvertValue<int>(row["EGUserID"]);
					this._EGCardNo = DataUtils.ConvertValue<string>(row["EGCardNo"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._DeptID = DataUtils.ConvertValue<int?>(row["DeptID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._EGCardNoDoor = DataUtils.ConvertValue<string>(row["EGCardNoDoor"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","EGUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGUserID = new Field("EGUserID","EGUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGCardNo = new Field("EGCardNo","EGUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","EGUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptID = new Field("DeptID","EGUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","EGUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","EGUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGCardNoDoor = new Field("EGCardNoDoor","EGUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类EGUserInControler
    /// <summary>
	/// 实体类EGUserInControler 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class EGUserInControler : Entity 
	{
	 /// <summary>
	/// 实体类EGUserInControler 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public EGUserInControler():base("EGUserInControler") {}

		#region Model

		
		private int _EGControlerID;//;
		
		private int _EGUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int EGControlerID
		{
			get{ 
				return _EGControlerID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGControlerID,_EGControlerID,value);
				this._EGControlerID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int EGUserID
		{
			get{ 
				return _EGUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGUserID,_EGUserID,value);
				this._EGUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.EGControlerID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.EGControlerID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.EGControlerID,

			
			_.EGUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._EGControlerID,

			
			this._EGUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._EGControlerID = DataUtils.ConvertValue<int>(reader["EGControlerID"]);
						this._EGUserID = DataUtils.ConvertValue<int>(reader["EGUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._EGControlerID = DataUtils.ConvertValue<int>(row["EGControlerID"]);
					this._EGUserID = DataUtils.ConvertValue<int>(row["EGUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","EGUserInControler");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGControlerID = new Field("EGControlerID","EGUserInControler","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGUserID = new Field("EGUserID","EGUserInControler","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Exam
    /// <summary>
	/// 实体类Exam 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Exam : Entity 
	{
	 /// <summary>
	/// 实体类Exam 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Exam():base("Exam") {}

		#region Model

		
		private int _ExamID;//;
		
		private int? _CompanyID;//;
		
		private int? _ExamRuleID;//;
		
		private decimal? _Score;//;
		
		private DateTime? _ExamTime;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ExamID
		{
			get{ 
				return _ExamID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExamID,_ExamID,value);
				this._ExamID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ExamRuleID
		{
			get{ 
				return _ExamRuleID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExamRuleID,_ExamRuleID,value);
				this._ExamRuleID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Score
		{
			get{ 
				return _Score;
			 }
			set
			{
				this.OnPropertyValueChange(_.Score,_Score,value);
				this._Score=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ExamTime
		{
			get{ 
				return _ExamTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExamTime,_ExamTime,value);
				this._ExamTime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ExamID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ExamID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ExamID,

			
			_.CompanyID,

			
			_.ExamRuleID,

			
			_.Score,

			
			_.ExamTime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ExamID,

			
			this._CompanyID,

			
			this._ExamRuleID,

			
			this._Score,

			
			this._ExamTime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ExamID = DataUtils.ConvertValue<int>(reader["ExamID"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
						this._ExamRuleID = DataUtils.ConvertValue<int?>(reader["ExamRuleID"]);
						this._Score = DataUtils.ConvertValue<decimal?>(reader["Score"]);
						this._ExamTime = DataUtils.ConvertValue<DateTime?>(reader["ExamTime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ExamID = DataUtils.ConvertValue<int>(row["ExamID"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					this._ExamRuleID = DataUtils.ConvertValue<int?>(row["ExamRuleID"]);
					this._Score = DataUtils.ConvertValue<decimal?>(row["Score"]);
					this._ExamTime = DataUtils.ConvertValue<DateTime?>(row["ExamTime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Exam");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExamID = new Field("ExamID","Exam","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","Exam","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExamRuleID = new Field("ExamRuleID","Exam","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Score = new Field("Score","Exam","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExamTime = new Field("ExamTime","Exam","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类ExamRule
    /// <summary>
	/// 实体类ExamRule 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class ExamRule : Entity 
	{
	 /// <summary>
	/// 实体类ExamRule 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public ExamRule():base("ExamRule") {}

		#region Model

		
		private int _ExamRuleID;//;
		
		private string _ExamRuleName;//;
		
		private double? _MinScore;//;
		
		private double? _MaxScore;//;
		
		private int? _ScoreTypeID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ExamRuleID
		{
			get{ 
				return _ExamRuleID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExamRuleID,_ExamRuleID,value);
				this._ExamRuleID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ExamRuleName
		{
			get{ 
				return _ExamRuleName;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExamRuleName,_ExamRuleName,value);
				this._ExamRuleName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public double? MinScore
		{
			get{ 
				return _MinScore;
			 }
			set
			{
				this.OnPropertyValueChange(_.MinScore,_MinScore,value);
				this._MinScore=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public double? MaxScore
		{
			get{ 
				return _MaxScore;
			 }
			set
			{
				this.OnPropertyValueChange(_.MaxScore,_MaxScore,value);
				this._MaxScore=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ScoreTypeID
		{
			get{ 
				return _ScoreTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ScoreTypeID,_ScoreTypeID,value);
				this._ScoreTypeID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ExamRuleID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ExamRuleID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ExamRuleID,

			
			_.ExamRuleName,

			
			_.MinScore,

			
			_.MaxScore,

			
			_.ScoreTypeID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ExamRuleID,

			
			this._ExamRuleName,

			
			this._MinScore,

			
			this._MaxScore,

			
			this._ScoreTypeID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ExamRuleID = DataUtils.ConvertValue<int>(reader["ExamRuleID"]);
						this._ExamRuleName = DataUtils.ConvertValue<string>(reader["ExamRuleName"]);
						this._MinScore = DataUtils.ConvertValue<double?>(reader["MinScore"]);
						this._MaxScore = DataUtils.ConvertValue<double?>(reader["MaxScore"]);
						this._ScoreTypeID = DataUtils.ConvertValue<int?>(reader["ScoreTypeID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ExamRuleID = DataUtils.ConvertValue<int>(row["ExamRuleID"]);
					this._ExamRuleName = DataUtils.ConvertValue<string>(row["ExamRuleName"]);
					this._MinScore = DataUtils.ConvertValue<double?>(row["MinScore"]);
					this._MaxScore = DataUtils.ConvertValue<double?>(row["MaxScore"]);
					this._ScoreTypeID = DataUtils.ConvertValue<int?>(row["ScoreTypeID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","ExamRule");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExamRuleID = new Field("ExamRuleID","ExamRule","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExamRuleName = new Field("ExamRuleName","ExamRule","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MinScore = new Field("MinScore","ExamRule","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaxScore = new Field("MaxScore","ExamRule","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ScoreTypeID = new Field("ScoreTypeID","ExamRule","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Expense
    /// <summary>
	/// 实体类Expense 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Expense : Entity 
	{
	 /// <summary>
	/// 实体类Expense 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Expense():base("Expense") {}

		#region Model

		
		private int _ExpenseID;//;
		
		private int? _ExpenseTypeID;//;
		
		private int? _CompanyID;//;
		
		private int? _ExpenseYear;//;
		
		private int? _ExpenseMonth;//;
		
		private decimal? _PreMonthAmount;//;
		
		private decimal? _CurMonthAmount;//;
		
		private decimal? _SinglePrice;//;
		
		private decimal? _CurMonthExpense;//;
		
		private int? _StatusID;//;
		
		private string _Custom1;//;
		
		private string _Custom2;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ExpenseID
		{
			get{ 
				return _ExpenseID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExpenseID,_ExpenseID,value);
				this._ExpenseID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ExpenseTypeID
		{
			get{ 
				return _ExpenseTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExpenseTypeID,_ExpenseTypeID,value);
				this._ExpenseTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ExpenseYear
		{
			get{ 
				return _ExpenseYear;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExpenseYear,_ExpenseYear,value);
				this._ExpenseYear=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ExpenseMonth
		{
			get{ 
				return _ExpenseMonth;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExpenseMonth,_ExpenseMonth,value);
				this._ExpenseMonth=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PreMonthAmount
		{
			get{ 
				return _PreMonthAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.PreMonthAmount,_PreMonthAmount,value);
				this._PreMonthAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? CurMonthAmount
		{
			get{ 
				return _CurMonthAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.CurMonthAmount,_CurMonthAmount,value);
				this._CurMonthAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? SinglePrice
		{
			get{ 
				return _SinglePrice;
			 }
			set
			{
				this.OnPropertyValueChange(_.SinglePrice,_SinglePrice,value);
				this._SinglePrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? CurMonthExpense
		{
			get{ 
				return _CurMonthExpense;
			 }
			set
			{
				this.OnPropertyValueChange(_.CurMonthExpense,_CurMonthExpense,value);
				this._CurMonthExpense=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Custom1
		{
			get{ 
				return _Custom1;
			 }
			set
			{
				this.OnPropertyValueChange(_.Custom1,_Custom1,value);
				this._Custom1=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Custom2
		{
			get{ 
				return _Custom2;
			 }
			set
			{
				this.OnPropertyValueChange(_.Custom2,_Custom2,value);
				this._Custom2=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ExpenseID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ExpenseID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ExpenseID,

			
			_.ExpenseTypeID,

			
			_.CompanyID,

			
			_.ExpenseYear,

			
			_.ExpenseMonth,

			
			_.PreMonthAmount,

			
			_.CurMonthAmount,

			
			_.SinglePrice,

			
			_.CurMonthExpense,

			
			_.StatusID,

			
			_.Custom1,

			
			_.Custom2

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ExpenseID,

			
			this._ExpenseTypeID,

			
			this._CompanyID,

			
			this._ExpenseYear,

			
			this._ExpenseMonth,

			
			this._PreMonthAmount,

			
			this._CurMonthAmount,

			
			this._SinglePrice,

			
			this._CurMonthExpense,

			
			this._StatusID,

			
			this._Custom1,

			
			this._Custom2

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ExpenseID = DataUtils.ConvertValue<int>(reader["ExpenseID"]);
						this._ExpenseTypeID = DataUtils.ConvertValue<int?>(reader["ExpenseTypeID"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
						this._ExpenseYear = DataUtils.ConvertValue<int?>(reader["ExpenseYear"]);
						this._ExpenseMonth = DataUtils.ConvertValue<int?>(reader["ExpenseMonth"]);
						this._PreMonthAmount = DataUtils.ConvertValue<decimal?>(reader["PreMonthAmount"]);
						this._CurMonthAmount = DataUtils.ConvertValue<decimal?>(reader["CurMonthAmount"]);
						this._SinglePrice = DataUtils.ConvertValue<decimal?>(reader["SinglePrice"]);
						this._CurMonthExpense = DataUtils.ConvertValue<decimal?>(reader["CurMonthExpense"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._Custom1 = DataUtils.ConvertValue<string>(reader["Custom1"]);
						this._Custom2 = DataUtils.ConvertValue<string>(reader["Custom2"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ExpenseID = DataUtils.ConvertValue<int>(row["ExpenseID"]);
					this._ExpenseTypeID = DataUtils.ConvertValue<int?>(row["ExpenseTypeID"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					this._ExpenseYear = DataUtils.ConvertValue<int?>(row["ExpenseYear"]);
					this._ExpenseMonth = DataUtils.ConvertValue<int?>(row["ExpenseMonth"]);
					this._PreMonthAmount = DataUtils.ConvertValue<decimal?>(row["PreMonthAmount"]);
					this._CurMonthAmount = DataUtils.ConvertValue<decimal?>(row["CurMonthAmount"]);
					this._SinglePrice = DataUtils.ConvertValue<decimal?>(row["SinglePrice"]);
					this._CurMonthExpense = DataUtils.ConvertValue<decimal?>(row["CurMonthExpense"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._Custom1 = DataUtils.ConvertValue<string>(row["Custom1"]);
					this._Custom2 = DataUtils.ConvertValue<string>(row["Custom2"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Expense");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExpenseID = new Field("ExpenseID","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExpenseTypeID = new Field("ExpenseTypeID","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExpenseYear = new Field("ExpenseYear","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExpenseMonth = new Field("ExpenseMonth","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PreMonthAmount = new Field("PreMonthAmount","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CurMonthAmount = new Field("CurMonthAmount","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SinglePrice = new Field("SinglePrice","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CurMonthExpense = new Field("CurMonthExpense","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Custom1 = new Field("Custom1","Expense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Custom2 = new Field("Custom2","Expense","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类ExpenseType
    /// <summary>
	/// 实体类ExpenseType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class ExpenseType : Entity 
	{
	 /// <summary>
	/// 实体类ExpenseType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public ExpenseType():base("ExpenseType") {}

		#region Model

		
		private int _ExpenseTypeID;//;
		
		private string _Value;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ExpenseTypeID
		{
			get{ 
				return _ExpenseTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExpenseTypeID,_ExpenseTypeID,value);
				this._ExpenseTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ExpenseTypeID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ExpenseTypeID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ExpenseTypeID,

			
			_.Value

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ExpenseTypeID,

			
			this._Value

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ExpenseTypeID = DataUtils.ConvertValue<int>(reader["ExpenseTypeID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ExpenseTypeID = DataUtils.ConvertValue<int>(row["ExpenseTypeID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","ExpenseType");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExpenseTypeID = new Field("ExpenseTypeID","ExpenseType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","ExpenseType","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类LEDMessage
    /// <summary>
	/// 实体类LEDMessage 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class LEDMessage : Entity 
	{
	 /// <summary>
	/// 实体类LEDMessage 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public LEDMessage():base("LEDMessage") {}

		#region Model

		
		private int _MessageID;//;
		
		private string _GoodName;//;
		
		private decimal? _Amount;//;
		
		private string _UnitType;//;
		
		private decimal? _TransPrice;//;
		
		private decimal? _CarInfo;//;
		
		private int? _RoomID;//;
		
		private DateTime? _CreateDate;//;
		
		private bool? _IsSend;//;
		
		private bool? _IsBackAble;//;
		
		private int? _StartPlaceID;//;
		
		private int? _EndPlaceID;//;
		
		private bool? _IsCutover;//=false;
		
		private string _CutoverDriverIDNumber;//;
		
		private DateTime? _CutoverDate;//;
		
		private string _CutoverCompanyIDNumber;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MessageID
		{
			get{ 
				return _MessageID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MessageID,_MessageID,value);
				this._MessageID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string GoodName
		{
			get{ 
				return _GoodName;
			 }
			set
			{
				this.OnPropertyValueChange(_.GoodName,_GoodName,value);
				this._GoodName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Amount
		{
			get{ 
				return _Amount;
			 }
			set
			{
				this.OnPropertyValueChange(_.Amount,_Amount,value);
				this._Amount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UnitType
		{
			get{ 
				return _UnitType;
			 }
			set
			{
				this.OnPropertyValueChange(_.UnitType,_UnitType,value);
				this._UnitType=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? TransPrice
		{
			get{ 
				return _TransPrice;
			 }
			set
			{
				this.OnPropertyValueChange(_.TransPrice,_TransPrice,value);
				this._TransPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? CarInfo
		{
			get{ 
				return _CarInfo;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarInfo,_CarInfo,value);
				this._CarInfo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoomID
		{
			get{ 
				return _RoomID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomID,_RoomID,value);
				this._RoomID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsSend
		{
			get{ 
				return _IsSend;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsSend,_IsSend,value);
				this._IsSend=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsBackAble
		{
			get{ 
				return _IsBackAble;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsBackAble,_IsBackAble,value);
				this._IsBackAble=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StartPlaceID
		{
			get{ 
				return _StartPlaceID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartPlaceID,_StartPlaceID,value);
				this._StartPlaceID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? EndPlaceID
		{
			get{ 
				return _EndPlaceID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndPlaceID,_EndPlaceID,value);
				this._EndPlaceID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsCutover
		{
			get{ 
				return _IsCutover;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsCutover,_IsCutover,value);
				this._IsCutover=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CutoverDriverIDNumber
		{
			get{ 
				return _CutoverDriverIDNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.CutoverDriverIDNumber,_CutoverDriverIDNumber,value);
				this._CutoverDriverIDNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CutoverDate
		{
			get{ 
				return _CutoverDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CutoverDate,_CutoverDate,value);
				this._CutoverDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CutoverCompanyIDNumber
		{
			get{ 
				return _CutoverCompanyIDNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.CutoverCompanyIDNumber,_CutoverCompanyIDNumber,value);
				this._CutoverCompanyIDNumber=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MessageID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MessageID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MessageID,

			
			_.GoodName,

			
			_.Amount,

			
			_.UnitType,

			
			_.TransPrice,

			
			_.CarInfo,

			
			_.RoomID,

			
			_.CreateDate,

			
			_.IsSend,

			
			_.IsBackAble,

			
			_.StartPlaceID,

			
			_.EndPlaceID,

			
			_.IsCutover,

			
			_.CutoverDriverIDNumber,

			
			_.CutoverDate,

			
			_.CutoverCompanyIDNumber

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MessageID,

			
			this._GoodName,

			
			this._Amount,

			
			this._UnitType,

			
			this._TransPrice,

			
			this._CarInfo,

			
			this._RoomID,

			
			this._CreateDate,

			
			this._IsSend,

			
			this._IsBackAble,

			
			this._StartPlaceID,

			
			this._EndPlaceID,

			
			this._IsCutover,

			
			this._CutoverDriverIDNumber,

			
			this._CutoverDate,

			
			this._CutoverCompanyIDNumber

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MessageID = DataUtils.ConvertValue<int>(reader["MessageID"]);
						this._GoodName = DataUtils.ConvertValue<string>(reader["GoodName"]);
						this._Amount = DataUtils.ConvertValue<decimal?>(reader["Amount"]);
						this._UnitType = DataUtils.ConvertValue<string>(reader["UnitType"]);
						this._TransPrice = DataUtils.ConvertValue<decimal?>(reader["TransPrice"]);
						this._CarInfo = DataUtils.ConvertValue<decimal?>(reader["CarInfo"]);
						this._RoomID = DataUtils.ConvertValue<int?>(reader["RoomID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._IsSend = DataUtils.ConvertValue<bool?>(reader["IsSend"]);
						this._IsBackAble = DataUtils.ConvertValue<bool?>(reader["IsBackAble"]);
						this._StartPlaceID = DataUtils.ConvertValue<int?>(reader["StartPlaceID"]);
						this._EndPlaceID = DataUtils.ConvertValue<int?>(reader["EndPlaceID"]);
						this._IsCutover = DataUtils.ConvertValue<bool?>(reader["IsCutover"]);
						this._CutoverDriverIDNumber = DataUtils.ConvertValue<string>(reader["CutoverDriverIDNumber"]);
						this._CutoverDate = DataUtils.ConvertValue<DateTime?>(reader["CutoverDate"]);
						this._CutoverCompanyIDNumber = DataUtils.ConvertValue<string>(reader["CutoverCompanyIDNumber"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MessageID = DataUtils.ConvertValue<int>(row["MessageID"]);
					this._GoodName = DataUtils.ConvertValue<string>(row["GoodName"]);
					this._Amount = DataUtils.ConvertValue<decimal?>(row["Amount"]);
					this._UnitType = DataUtils.ConvertValue<string>(row["UnitType"]);
					this._TransPrice = DataUtils.ConvertValue<decimal?>(row["TransPrice"]);
					this._CarInfo = DataUtils.ConvertValue<decimal?>(row["CarInfo"]);
					this._RoomID = DataUtils.ConvertValue<int?>(row["RoomID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._IsSend = DataUtils.ConvertValue<bool?>(row["IsSend"]);
					this._IsBackAble = DataUtils.ConvertValue<bool?>(row["IsBackAble"]);
					this._StartPlaceID = DataUtils.ConvertValue<int?>(row["StartPlaceID"]);
					this._EndPlaceID = DataUtils.ConvertValue<int?>(row["EndPlaceID"]);
					this._IsCutover = DataUtils.ConvertValue<bool?>(row["IsCutover"]);
					this._CutoverDriverIDNumber = DataUtils.ConvertValue<string>(row["CutoverDriverIDNumber"]);
					this._CutoverDate = DataUtils.ConvertValue<DateTime?>(row["CutoverDate"]);
					this._CutoverCompanyIDNumber = DataUtils.ConvertValue<string>(row["CutoverCompanyIDNumber"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","LEDMessage");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MessageID = new Field("MessageID","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field GoodName = new Field("GoodName","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Amount = new Field("Amount","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UnitType = new Field("UnitType","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TransPrice = new Field("TransPrice","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarInfo = new Field("CarInfo","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomID = new Field("RoomID","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsSend = new Field("IsSend","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsBackAble = new Field("IsBackAble","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartPlaceID = new Field("StartPlaceID","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndPlaceID = new Field("EndPlaceID","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsCutover = new Field("IsCutover","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CutoverDriverIDNumber = new Field("CutoverDriverIDNumber","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CutoverDate = new Field("CutoverDate","LEDMessage","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CutoverCompanyIDNumber = new Field("CutoverCompanyIDNumber","LEDMessage","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Location
    /// <summary>
	/// 实体类Location 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Location : Entity 
	{
	 /// <summary>
	/// 实体类Location 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Location():base("Location") {}

		#region Model

		
		private int _ID;//;
		
		private string _Deviceid;//;
		
		private string _Memcardno;//;
		
		private string _Latitude;//;
		
		private string _Longitude;//;
		
		private string _Realtime;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ 
				return _ID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Deviceid
		{
			get{ 
				return _Deviceid;
			 }
			set
			{
				this.OnPropertyValueChange(_.Deviceid,_Deviceid,value);
				this._Deviceid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Memcardno
		{
			get{ 
				return _Memcardno;
			 }
			set
			{
				this.OnPropertyValueChange(_.Memcardno,_Memcardno,value);
				this._Memcardno=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Latitude
		{
			get{ 
				return _Latitude;
			 }
			set
			{
				this.OnPropertyValueChange(_.Latitude,_Latitude,value);
				this._Latitude=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Longitude
		{
			get{ 
				return _Longitude;
			 }
			set
			{
				this.OnPropertyValueChange(_.Longitude,_Longitude,value);
				this._Longitude=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Realtime
		{
			get{ 
				return _Realtime;
			 }
			set
			{
				this.OnPropertyValueChange(_.Realtime,_Realtime,value);
				this._Realtime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Deviceid,

			
			_.Memcardno,

			
			_.Latitude,

			
			_.Longitude,

			
			_.Realtime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Deviceid,

			
			this._Memcardno,

			
			this._Latitude,

			
			this._Longitude,

			
			this._Realtime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Deviceid = DataUtils.ConvertValue<string>(reader["Deviceid"]);
						this._Memcardno = DataUtils.ConvertValue<string>(reader["Memcardno"]);
						this._Latitude = DataUtils.ConvertValue<string>(reader["Latitude"]);
						this._Longitude = DataUtils.ConvertValue<string>(reader["Longitude"]);
						this._Realtime = DataUtils.ConvertValue<string>(reader["Realtime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Deviceid = DataUtils.ConvertValue<string>(row["Deviceid"]);
					this._Memcardno = DataUtils.ConvertValue<string>(row["Memcardno"]);
					this._Latitude = DataUtils.ConvertValue<string>(row["Latitude"]);
					this._Longitude = DataUtils.ConvertValue<string>(row["Longitude"]);
					this._Realtime = DataUtils.ConvertValue<string>(row["Realtime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Location");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","Location","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Deviceid = new Field("Deviceid","Location","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Memcardno = new Field("Memcardno","Location","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Latitude = new Field("Latitude","Location","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Longitude = new Field("Longitude","Location","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Realtime = new Field("Realtime","Location","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类LogAudit
    /// <summary>
	/// 实体类LogAudit 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class LogAudit : Entity 
	{
	 /// <summary>
	/// 实体类LogAudit 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public LogAudit():base("LogAudit") {}

		#region Model

		
		private int _LogID;//;
		
		private string _Action;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private int? _LogType;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int LogID
		{
			get{ 
				return _LogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.LogID,_LogID,value);
				this._LogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Action
		{
			get{ 
				return _Action;
			 }
			set
			{
				this.OnPropertyValueChange(_.Action,_Action,value);
				this._Action=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? LogType
		{
			get{ 
				return _LogType;
			 }
			set
			{
				this.OnPropertyValueChange(_.LogType,_LogType,value);
				this._LogType=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.LogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.LogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.LogID,

			
			_.Action,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.LogType

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._LogID,

			
			this._Action,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._LogType

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._LogID = DataUtils.ConvertValue<int>(reader["LogID"]);
						this._Action = DataUtils.ConvertValue<string>(reader["Action"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._LogType = DataUtils.ConvertValue<int?>(reader["LogType"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._LogID = DataUtils.ConvertValue<int>(row["LogID"]);
					this._Action = DataUtils.ConvertValue<string>(row["Action"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._LogType = DataUtils.ConvertValue<int?>(row["LogType"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","LogAudit");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field LogID = new Field("LogID","LogAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Action = new Field("Action","LogAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","LogAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","LogAudit","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LogType = new Field("LogType","LogAudit","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Mail
    /// <summary>
	/// 实体类Mail 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Mail : Entity 
	{
	 /// <summary>
	/// 实体类Mail 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Mail():base("Mail") {}

		#region Model

		
		private int _MailID;//;
		
		private int? _FromUserID;//;
		
		private string _ToUserIDs;//;
		
		private string _Subject;//;
		
		private string _Body;//;
		
		private DateTime? _CreateDate;//;
		
		private string _Attachments;//;
		
		private int? _StatusID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MailID
		{
			get{ 
				return _MailID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MailID,_MailID,value);
				this._MailID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? FromUserID
		{
			get{ 
				return _FromUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.FromUserID,_FromUserID,value);
				this._FromUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ToUserIDs
		{
			get{ 
				return _ToUserIDs;
			 }
			set
			{
				this.OnPropertyValueChange(_.ToUserIDs,_ToUserIDs,value);
				this._ToUserIDs=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Subject
		{
			get{ 
				return _Subject;
			 }
			set
			{
				this.OnPropertyValueChange(_.Subject,_Subject,value);
				this._Subject=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Body
		{
			get{ 
				return _Body;
			 }
			set
			{
				this.OnPropertyValueChange(_.Body,_Body,value);
				this._Body=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Attachments
		{
			get{ 
				return _Attachments;
			 }
			set
			{
				this.OnPropertyValueChange(_.Attachments,_Attachments,value);
				this._Attachments=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MailID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MailID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MailID,

			
			_.FromUserID,

			
			_.ToUserIDs,

			
			_.Subject,

			
			_.Body,

			
			_.CreateDate,

			
			_.Attachments,

			
			_.StatusID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MailID,

			
			this._FromUserID,

			
			this._ToUserIDs,

			
			this._Subject,

			
			this._Body,

			
			this._CreateDate,

			
			this._Attachments,

			
			this._StatusID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MailID = DataUtils.ConvertValue<int>(reader["MailID"]);
						this._FromUserID = DataUtils.ConvertValue<int?>(reader["FromUserID"]);
						this._ToUserIDs = DataUtils.ConvertValue<string>(reader["ToUserIDs"]);
						this._Subject = DataUtils.ConvertValue<string>(reader["Subject"]);
						this._Body = DataUtils.ConvertValue<string>(reader["Body"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._Attachments = DataUtils.ConvertValue<string>(reader["Attachments"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MailID = DataUtils.ConvertValue<int>(row["MailID"]);
					this._FromUserID = DataUtils.ConvertValue<int?>(row["FromUserID"]);
					this._ToUserIDs = DataUtils.ConvertValue<string>(row["ToUserIDs"]);
					this._Subject = DataUtils.ConvertValue<string>(row["Subject"]);
					this._Body = DataUtils.ConvertValue<string>(row["Body"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._Attachments = DataUtils.ConvertValue<string>(row["Attachments"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Mail");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MailID = new Field("MailID","Mail","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field FromUserID = new Field("FromUserID","Mail","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ToUserIDs = new Field("ToUserIDs","Mail","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Subject = new Field("Subject","Mail","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Body = new Field("Body","Mail","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Mail","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Attachments = new Field("Attachments","Mail","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Mail","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类MasterDic
    /// <summary>
	/// 实体类MasterDic 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class MasterDic : Entity 
	{
	 /// <summary>
	/// 实体类MasterDic 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public MasterDic():base("MasterDic") {}

		#region Model

		
		private int _MasterDicID;//;
		
		private decimal? _PrintPrice;//;
		
		private decimal? _ElecPrice;//;
		
		private string _ElecReminderDate;//;
		
		private string _ElecEndDate;//;
		
		private string _RentRemiderDate;//;
		
		private string _RentEndDate;//;
		
		private decimal? _InitialAmount;//;
		
		private decimal? _WorkAmount;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MasterDicID
		{
			get{ 
				return _MasterDicID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MasterDicID,_MasterDicID,value);
				this._MasterDicID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PrintPrice
		{
			get{ 
				return _PrintPrice;
			 }
			set
			{
				this.OnPropertyValueChange(_.PrintPrice,_PrintPrice,value);
				this._PrintPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? ElecPrice
		{
			get{ 
				return _ElecPrice;
			 }
			set
			{
				this.OnPropertyValueChange(_.ElecPrice,_ElecPrice,value);
				this._ElecPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ElecReminderDate
		{
			get{ 
				return _ElecReminderDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.ElecReminderDate,_ElecReminderDate,value);
				this._ElecReminderDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ElecEndDate
		{
			get{ 
				return _ElecEndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.ElecEndDate,_ElecEndDate,value);
				this._ElecEndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RentRemiderDate
		{
			get{ 
				return _RentRemiderDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentRemiderDate,_RentRemiderDate,value);
				this._RentRemiderDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RentEndDate
		{
			get{ 
				return _RentEndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentEndDate,_RentEndDate,value);
				this._RentEndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? InitialAmount
		{
			get{ 
				return _InitialAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.InitialAmount,_InitialAmount,value);
				this._InitialAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? WorkAmount
		{
			get{ 
				return _WorkAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.WorkAmount,_WorkAmount,value);
				this._WorkAmount=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MasterDicID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MasterDicID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MasterDicID,

			
			_.PrintPrice,

			
			_.ElecPrice,

			
			_.ElecReminderDate,

			
			_.ElecEndDate,

			
			_.RentRemiderDate,

			
			_.RentEndDate,

			
			_.InitialAmount,

			
			_.WorkAmount

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MasterDicID,

			
			this._PrintPrice,

			
			this._ElecPrice,

			
			this._ElecReminderDate,

			
			this._ElecEndDate,

			
			this._RentRemiderDate,

			
			this._RentEndDate,

			
			this._InitialAmount,

			
			this._WorkAmount

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MasterDicID = DataUtils.ConvertValue<int>(reader["MasterDicID"]);
						this._PrintPrice = DataUtils.ConvertValue<decimal?>(reader["PrintPrice"]);
						this._ElecPrice = DataUtils.ConvertValue<decimal?>(reader["ElecPrice"]);
						this._ElecReminderDate = DataUtils.ConvertValue<string>(reader["ElecReminderDate"]);
						this._ElecEndDate = DataUtils.ConvertValue<string>(reader["ElecEndDate"]);
						this._RentRemiderDate = DataUtils.ConvertValue<string>(reader["RentRemiderDate"]);
						this._RentEndDate = DataUtils.ConvertValue<string>(reader["RentEndDate"]);
						this._InitialAmount = DataUtils.ConvertValue<decimal?>(reader["InitialAmount"]);
						this._WorkAmount = DataUtils.ConvertValue<decimal?>(reader["WorkAmount"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MasterDicID = DataUtils.ConvertValue<int>(row["MasterDicID"]);
					this._PrintPrice = DataUtils.ConvertValue<decimal?>(row["PrintPrice"]);
					this._ElecPrice = DataUtils.ConvertValue<decimal?>(row["ElecPrice"]);
					this._ElecReminderDate = DataUtils.ConvertValue<string>(row["ElecReminderDate"]);
					this._ElecEndDate = DataUtils.ConvertValue<string>(row["ElecEndDate"]);
					this._RentRemiderDate = DataUtils.ConvertValue<string>(row["RentRemiderDate"]);
					this._RentEndDate = DataUtils.ConvertValue<string>(row["RentEndDate"]);
					this._InitialAmount = DataUtils.ConvertValue<decimal?>(row["InitialAmount"]);
					this._WorkAmount = DataUtils.ConvertValue<decimal?>(row["WorkAmount"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","MasterDic");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MasterDicID = new Field("MasterDicID","MasterDic","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PrintPrice = new Field("PrintPrice","MasterDic","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ElecPrice = new Field("ElecPrice","MasterDic","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ElecReminderDate = new Field("ElecReminderDate","MasterDic","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ElecEndDate = new Field("ElecEndDate","MasterDic","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentRemiderDate = new Field("RentRemiderDate","MasterDic","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentEndDate = new Field("RentEndDate","MasterDic","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field InitialAmount = new Field("InitialAmount","MasterDic","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field WorkAmount = new Field("WorkAmount","MasterDic","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Member_Card
    /// <summary>
	/// 实体类Member_Card 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Member_Card : Entity 
	{
	 /// <summary>
	/// 实体类Member_Card 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Member_Card():base("Member_Card") {}

		#region Model

		
		private string _Name;//;
		
		private string _IDNumber;//;
		
		private string _MemCardNo;//;
		
		private int? _StatusID;//;
		
		private DateTime? _ExpireDate;//;
		
		private decimal? _LeftCash;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IDNumber
		{
			get{ 
				return _IDNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.IDNumber,_IDNumber,value);
				this._IDNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemCardNo
		{
			get{ 
				return _MemCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardNo,_MemCardNo,value);
				this._MemCardNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ExpireDate
		{
			get{ 
				return _ExpireDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExpireDate,_ExpireDate,value);
				this._ExpireDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? LeftCash
		{
			get{ 
				return _LeftCash;
			 }
			set
			{
				this.OnPropertyValueChange(_.LeftCash,_LeftCash,value);
				this._LeftCash=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Name;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Name};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Name,

			
			_.IDNumber,

			
			_.MemCardNo,

			
			_.StatusID,

			
			_.ExpireDate,

			
			_.LeftCash

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Name,

			
			this._IDNumber,

			
			this._MemCardNo,

			
			this._StatusID,

			
			this._ExpireDate,

			
			this._LeftCash

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._IDNumber = DataUtils.ConvertValue<string>(reader["IDNumber"]);
						this._MemCardNo = DataUtils.ConvertValue<string>(reader["MemCardNo"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._ExpireDate = DataUtils.ConvertValue<DateTime?>(reader["ExpireDate"]);
						this._LeftCash = DataUtils.ConvertValue<decimal?>(reader["LeftCash"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._IDNumber = DataUtils.ConvertValue<string>(row["IDNumber"]);
					this._MemCardNo = DataUtils.ConvertValue<string>(row["MemCardNo"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._ExpireDate = DataUtils.ConvertValue<DateTime?>(row["ExpireDate"]);
					this._LeftCash = DataUtils.ConvertValue<decimal?>(row["LeftCash"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Member_Card");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","Member_Card","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IDNumber = new Field("IDNumber","Member_Card","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardNo = new Field("MemCardNo","Member_Card","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Member_Card","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExpireDate = new Field("ExpireDate","Member_Card","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LeftCash = new Field("LeftCash","Member_Card","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类MemberCarInfo
    /// <summary>
	/// 实体类MemberCarInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class MemberCarInfo : Entity 
	{
	 /// <summary>
	/// 实体类MemberCarInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public MemberCarInfo():base("MemberCarInfo") {}

		#region Model

		
		private int _ID;//;
		
		private string _Memcardno;//;
		
		private string _Carplatenumber;//;
		
		private string _Toprovince;//;
		
		private string _Tocity;//;
		
		private string _Toregion;//;
		
		private string _Fromprovince;//;
		
		private string _Fromcity;//;
		
		private string _Fromregion;//;
		
		private string _Validdate;//;
		
		private string _Invaliddate;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ 
				return _ID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Memcardno
		{
			get{ 
				return _Memcardno;
			 }
			set
			{
				this.OnPropertyValueChange(_.Memcardno,_Memcardno,value);
				this._Memcardno=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Carplatenumber
		{
			get{ 
				return _Carplatenumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.Carplatenumber,_Carplatenumber,value);
				this._Carplatenumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Toprovince
		{
			get{ 
				return _Toprovince;
			 }
			set
			{
				this.OnPropertyValueChange(_.Toprovince,_Toprovince,value);
				this._Toprovince=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Tocity
		{
			get{ 
				return _Tocity;
			 }
			set
			{
				this.OnPropertyValueChange(_.Tocity,_Tocity,value);
				this._Tocity=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Toregion
		{
			get{ 
				return _Toregion;
			 }
			set
			{
				this.OnPropertyValueChange(_.Toregion,_Toregion,value);
				this._Toregion=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Fromprovince
		{
			get{ 
				return _Fromprovince;
			 }
			set
			{
				this.OnPropertyValueChange(_.Fromprovince,_Fromprovince,value);
				this._Fromprovince=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Fromcity
		{
			get{ 
				return _Fromcity;
			 }
			set
			{
				this.OnPropertyValueChange(_.Fromcity,_Fromcity,value);
				this._Fromcity=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Fromregion
		{
			get{ 
				return _Fromregion;
			 }
			set
			{
				this.OnPropertyValueChange(_.Fromregion,_Fromregion,value);
				this._Fromregion=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Validdate
		{
			get{ 
				return _Validdate;
			 }
			set
			{
				this.OnPropertyValueChange(_.Validdate,_Validdate,value);
				this._Validdate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Invaliddate
		{
			get{ 
				return _Invaliddate;
			 }
			set
			{
				this.OnPropertyValueChange(_.Invaliddate,_Invaliddate,value);
				this._Invaliddate=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Memcardno,

			
			_.Carplatenumber,

			
			_.Toprovince,

			
			_.Tocity,

			
			_.Toregion,

			
			_.Fromprovince,

			
			_.Fromcity,

			
			_.Fromregion,

			
			_.Validdate,

			
			_.Invaliddate

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Memcardno,

			
			this._Carplatenumber,

			
			this._Toprovince,

			
			this._Tocity,

			
			this._Toregion,

			
			this._Fromprovince,

			
			this._Fromcity,

			
			this._Fromregion,

			
			this._Validdate,

			
			this._Invaliddate

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Memcardno = DataUtils.ConvertValue<string>(reader["Memcardno"]);
						this._Carplatenumber = DataUtils.ConvertValue<string>(reader["Carplatenumber"]);
						this._Toprovince = DataUtils.ConvertValue<string>(reader["Toprovince"]);
						this._Tocity = DataUtils.ConvertValue<string>(reader["Tocity"]);
						this._Toregion = DataUtils.ConvertValue<string>(reader["Toregion"]);
						this._Fromprovince = DataUtils.ConvertValue<string>(reader["Fromprovince"]);
						this._Fromcity = DataUtils.ConvertValue<string>(reader["Fromcity"]);
						this._Fromregion = DataUtils.ConvertValue<string>(reader["Fromregion"]);
						this._Validdate = DataUtils.ConvertValue<string>(reader["Validdate"]);
						this._Invaliddate = DataUtils.ConvertValue<string>(reader["Invaliddate"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Memcardno = DataUtils.ConvertValue<string>(row["Memcardno"]);
					this._Carplatenumber = DataUtils.ConvertValue<string>(row["Carplatenumber"]);
					this._Toprovince = DataUtils.ConvertValue<string>(row["Toprovince"]);
					this._Tocity = DataUtils.ConvertValue<string>(row["Tocity"]);
					this._Toregion = DataUtils.ConvertValue<string>(row["Toregion"]);
					this._Fromprovince = DataUtils.ConvertValue<string>(row["Fromprovince"]);
					this._Fromcity = DataUtils.ConvertValue<string>(row["Fromcity"]);
					this._Fromregion = DataUtils.ConvertValue<string>(row["Fromregion"]);
					this._Validdate = DataUtils.ConvertValue<string>(row["Validdate"]);
					this._Invaliddate = DataUtils.ConvertValue<string>(row["Invaliddate"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","MemberCarInfo");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Memcardno = new Field("Memcardno","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Carplatenumber = new Field("Carplatenumber","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Toprovince = new Field("Toprovince","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Tocity = new Field("Tocity","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Toregion = new Field("Toregion","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Fromprovince = new Field("Fromprovince","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Fromcity = new Field("Fromcity","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Fromregion = new Field("Fromregion","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Validdate = new Field("Validdate","MemberCarInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Invaliddate = new Field("Invaliddate","MemberCarInfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类MemberInfo
    /// <summary>
	/// 实体类MemberInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class MemberInfo : Entity 
	{
	 /// <summary>
	/// 实体类MemberInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public MemberInfo():base("MemberInfo") {}

		#region Model

		
		private int _MemberID;//;
		
		private int? _MemCardID;//;
		
		private string _RegistID;//;
		
		private string _Name;//;
		
		private bool? _Sex;//;
		
		private DateTime? _Birthday;//;
		
		private string _IDNumber;//;
		
		private string _IDAddress;//;
		
		private string _Cell;//;
		
		private string _Phone;//;
		
		private string _DLName;//;
		
		private bool? _DLSex;//;
		
		private string _DLNumber;//;
		
		private string _DLAddress;//;
		
		private string _CarNo;//;
		
		private string _CarEnginNo;//;
		
		private string _CarIDNo;//;
		
		private string _CarOwnerName;//;
		
		private string _CarOwnerAddr;//;
		
		private string _GCarNo;//;
		
		private string _GCarIDNo;//;
		
		private string _IDShot;//;
		
		private string _FingerShot;//;
		
		private string _CamShot;//;
		
		private string _Custom1;//;
		
		private string _Custom2;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MemberID
		{
			get{ 
				return _MemberID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemberID,_MemberID,value);
				this._MemberID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RegistID
		{
			get{ 
				return _RegistID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RegistID,_RegistID,value);
				this._RegistID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? Sex
		{
			get{ 
				return _Sex;
			 }
			set
			{
				this.OnPropertyValueChange(_.Sex,_Sex,value);
				this._Sex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? Birthday
		{
			get{ 
				return _Birthday;
			 }
			set
			{
				this.OnPropertyValueChange(_.Birthday,_Birthday,value);
				this._Birthday=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IDNumber
		{
			get{ 
				return _IDNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.IDNumber,_IDNumber,value);
				this._IDNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IDAddress
		{
			get{ 
				return _IDAddress;
			 }
			set
			{
				this.OnPropertyValueChange(_.IDAddress,_IDAddress,value);
				this._IDAddress=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Cell
		{
			get{ 
				return _Cell;
			 }
			set
			{
				this.OnPropertyValueChange(_.Cell,_Cell,value);
				this._Cell=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DLName
		{
			get{ 
				return _DLName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DLName,_DLName,value);
				this._DLName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? DLSex
		{
			get{ 
				return _DLSex;
			 }
			set
			{
				this.OnPropertyValueChange(_.DLSex,_DLSex,value);
				this._DLSex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DLNumber
		{
			get{ 
				return _DLNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.DLNumber,_DLNumber,value);
				this._DLNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DLAddress
		{
			get{ 
				return _DLAddress;
			 }
			set
			{
				this.OnPropertyValueChange(_.DLAddress,_DLAddress,value);
				this._DLAddress=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarNo
		{
			get{ 
				return _CarNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarNo,_CarNo,value);
				this._CarNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarEnginNo
		{
			get{ 
				return _CarEnginNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarEnginNo,_CarEnginNo,value);
				this._CarEnginNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarIDNo
		{
			get{ 
				return _CarIDNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarIDNo,_CarIDNo,value);
				this._CarIDNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarOwnerName
		{
			get{ 
				return _CarOwnerName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarOwnerName,_CarOwnerName,value);
				this._CarOwnerName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarOwnerAddr
		{
			get{ 
				return _CarOwnerAddr;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarOwnerAddr,_CarOwnerAddr,value);
				this._CarOwnerAddr=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string GCarNo
		{
			get{ 
				return _GCarNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.GCarNo,_GCarNo,value);
				this._GCarNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string GCarIDNo
		{
			get{ 
				return _GCarIDNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.GCarIDNo,_GCarIDNo,value);
				this._GCarIDNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IDShot
		{
			get{ 
				return _IDShot;
			 }
			set
			{
				this.OnPropertyValueChange(_.IDShot,_IDShot,value);
				this._IDShot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string FingerShot
		{
			get{ 
				return _FingerShot;
			 }
			set
			{
				this.OnPropertyValueChange(_.FingerShot,_FingerShot,value);
				this._FingerShot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CamShot
		{
			get{ 
				return _CamShot;
			 }
			set
			{
				this.OnPropertyValueChange(_.CamShot,_CamShot,value);
				this._CamShot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Custom1
		{
			get{ 
				return _Custom1;
			 }
			set
			{
				this.OnPropertyValueChange(_.Custom1,_Custom1,value);
				this._Custom1=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Custom2
		{
			get{ 
				return _Custom2;
			 }
			set
			{
				this.OnPropertyValueChange(_.Custom2,_Custom2,value);
				this._Custom2=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MemberID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MemberID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MemberID,

			
			_.MemCardID,

			
			_.RegistID,

			
			_.Name,

			
			_.Sex,

			
			_.Birthday,

			
			_.IDNumber,

			
			_.IDAddress,

			
			_.Cell,

			
			_.Phone,

			
			_.DLName,

			
			_.DLSex,

			
			_.DLNumber,

			
			_.DLAddress,

			
			_.CarNo,

			
			_.CarEnginNo,

			
			_.CarIDNo,

			
			_.CarOwnerName,

			
			_.CarOwnerAddr,

			
			_.GCarNo,

			
			_.GCarIDNo,

			
			_.IDShot,

			
			_.FingerShot,

			
			_.CamShot,

			
			_.Custom1,

			
			_.Custom2

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MemberID,

			
			this._MemCardID,

			
			this._RegistID,

			
			this._Name,

			
			this._Sex,

			
			this._Birthday,

			
			this._IDNumber,

			
			this._IDAddress,

			
			this._Cell,

			
			this._Phone,

			
			this._DLName,

			
			this._DLSex,

			
			this._DLNumber,

			
			this._DLAddress,

			
			this._CarNo,

			
			this._CarEnginNo,

			
			this._CarIDNo,

			
			this._CarOwnerName,

			
			this._CarOwnerAddr,

			
			this._GCarNo,

			
			this._GCarIDNo,

			
			this._IDShot,

			
			this._FingerShot,

			
			this._CamShot,

			
			this._Custom1,

			
			this._Custom2

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MemberID = DataUtils.ConvertValue<int>(reader["MemberID"]);
						this._MemCardID = DataUtils.ConvertValue<int?>(reader["MemCardID"]);
						this._RegistID = DataUtils.ConvertValue<string>(reader["RegistID"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._Sex = DataUtils.ConvertValue<bool?>(reader["Sex"]);
						this._Birthday = DataUtils.ConvertValue<DateTime?>(reader["Birthday"]);
						this._IDNumber = DataUtils.ConvertValue<string>(reader["IDNumber"]);
						this._IDAddress = DataUtils.ConvertValue<string>(reader["IDAddress"]);
						this._Cell = DataUtils.ConvertValue<string>(reader["Cell"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._DLName = DataUtils.ConvertValue<string>(reader["DLName"]);
						this._DLSex = DataUtils.ConvertValue<bool?>(reader["DLSex"]);
						this._DLNumber = DataUtils.ConvertValue<string>(reader["DLNumber"]);
						this._DLAddress = DataUtils.ConvertValue<string>(reader["DLAddress"]);
						this._CarNo = DataUtils.ConvertValue<string>(reader["CarNo"]);
						this._CarEnginNo = DataUtils.ConvertValue<string>(reader["CarEnginNo"]);
						this._CarIDNo = DataUtils.ConvertValue<string>(reader["CarIDNo"]);
						this._CarOwnerName = DataUtils.ConvertValue<string>(reader["CarOwnerName"]);
						this._CarOwnerAddr = DataUtils.ConvertValue<string>(reader["CarOwnerAddr"]);
						this._GCarNo = DataUtils.ConvertValue<string>(reader["GCarNo"]);
						this._GCarIDNo = DataUtils.ConvertValue<string>(reader["GCarIDNo"]);
						this._IDShot = DataUtils.ConvertValue<string>(reader["IDShot"]);
						this._FingerShot = DataUtils.ConvertValue<string>(reader["FingerShot"]);
						this._CamShot = DataUtils.ConvertValue<string>(reader["CamShot"]);
						this._Custom1 = DataUtils.ConvertValue<string>(reader["Custom1"]);
						this._Custom2 = DataUtils.ConvertValue<string>(reader["Custom2"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MemberID = DataUtils.ConvertValue<int>(row["MemberID"]);
					this._MemCardID = DataUtils.ConvertValue<int?>(row["MemCardID"]);
					this._RegistID = DataUtils.ConvertValue<string>(row["RegistID"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._Sex = DataUtils.ConvertValue<bool?>(row["Sex"]);
					this._Birthday = DataUtils.ConvertValue<DateTime?>(row["Birthday"]);
					this._IDNumber = DataUtils.ConvertValue<string>(row["IDNumber"]);
					this._IDAddress = DataUtils.ConvertValue<string>(row["IDAddress"]);
					this._Cell = DataUtils.ConvertValue<string>(row["Cell"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._DLName = DataUtils.ConvertValue<string>(row["DLName"]);
					this._DLSex = DataUtils.ConvertValue<bool?>(row["DLSex"]);
					this._DLNumber = DataUtils.ConvertValue<string>(row["DLNumber"]);
					this._DLAddress = DataUtils.ConvertValue<string>(row["DLAddress"]);
					this._CarNo = DataUtils.ConvertValue<string>(row["CarNo"]);
					this._CarEnginNo = DataUtils.ConvertValue<string>(row["CarEnginNo"]);
					this._CarIDNo = DataUtils.ConvertValue<string>(row["CarIDNo"]);
					this._CarOwnerName = DataUtils.ConvertValue<string>(row["CarOwnerName"]);
					this._CarOwnerAddr = DataUtils.ConvertValue<string>(row["CarOwnerAddr"]);
					this._GCarNo = DataUtils.ConvertValue<string>(row["GCarNo"]);
					this._GCarIDNo = DataUtils.ConvertValue<string>(row["GCarIDNo"]);
					this._IDShot = DataUtils.ConvertValue<string>(row["IDShot"]);
					this._FingerShot = DataUtils.ConvertValue<string>(row["FingerShot"]);
					this._CamShot = DataUtils.ConvertValue<string>(row["CamShot"]);
					this._Custom1 = DataUtils.ConvertValue<string>(row["Custom1"]);
					this._Custom2 = DataUtils.ConvertValue<string>(row["Custom2"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","MemberInfo");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemberID = new Field("MemberID","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RegistID = new Field("RegistID","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sex = new Field("Sex","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Birthday = new Field("Birthday","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IDNumber = new Field("IDNumber","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IDAddress = new Field("IDAddress","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Cell = new Field("Cell","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DLName = new Field("DLName","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DLSex = new Field("DLSex","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DLNumber = new Field("DLNumber","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DLAddress = new Field("DLAddress","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarNo = new Field("CarNo","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarEnginNo = new Field("CarEnginNo","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarIDNo = new Field("CarIDNo","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarOwnerName = new Field("CarOwnerName","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarOwnerAddr = new Field("CarOwnerAddr","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field GCarNo = new Field("GCarNo","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field GCarIDNo = new Field("GCarIDNo","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IDShot = new Field("IDShot","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field FingerShot = new Field("FingerShot","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CamShot = new Field("CamShot","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Custom1 = new Field("Custom1","MemberInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Custom2 = new Field("Custom2","MemberInfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类MemCard
    /// <summary>
	/// 实体类MemCard 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class MemCard : Entity 
	{
	 /// <summary>
	/// 实体类MemCard 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public MemCard():base("MemCard") {}

		#region Model

		
		private int _MemCardID;//;
		
		private string _MemCardNo;//;
		
		private int? _StatusID;//;
		
		private int? _CompanyID;//;
		
		private int? _MemTypeID;//;
		
		private DateTime? _StartDate;//;
		
		private DateTime? _ExpireDate;//;
		
		private decimal? _LeftCash;//;
		
		private int? _LeftTimes;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemCardNo
		{
			get{ 
				return _MemCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardNo,_MemCardNo,value);
				this._MemCardNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemTypeID
		{
			get{ 
				return _MemTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemTypeID,_MemTypeID,value);
				this._MemTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDate
		{
			get{ 
				return _StartDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartDate,_StartDate,value);
				this._StartDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ExpireDate
		{
			get{ 
				return _ExpireDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExpireDate,_ExpireDate,value);
				this._ExpireDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? LeftCash
		{
			get{ 
				return _LeftCash;
			 }
			set
			{
				this.OnPropertyValueChange(_.LeftCash,_LeftCash,value);
				this._LeftCash=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? LeftTimes
		{
			get{ 
				return _LeftTimes;
			 }
			set
			{
				this.OnPropertyValueChange(_.LeftTimes,_LeftTimes,value);
				this._LeftTimes=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MemCardID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MemCardID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MemCardID,

			
			_.MemCardNo,

			
			_.StatusID,

			
			_.CompanyID,

			
			_.MemTypeID,

			
			_.StartDate,

			
			_.ExpireDate,

			
			_.LeftCash,

			
			_.LeftTimes

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MemCardID,

			
			this._MemCardNo,

			
			this._StatusID,

			
			this._CompanyID,

			
			this._MemTypeID,

			
			this._StartDate,

			
			this._ExpireDate,

			
			this._LeftCash,

			
			this._LeftTimes

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MemCardID = DataUtils.ConvertValue<int>(reader["MemCardID"]);
						this._MemCardNo = DataUtils.ConvertValue<string>(reader["MemCardNo"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
						this._MemTypeID = DataUtils.ConvertValue<int?>(reader["MemTypeID"]);
						this._StartDate = DataUtils.ConvertValue<DateTime?>(reader["StartDate"]);
						this._ExpireDate = DataUtils.ConvertValue<DateTime?>(reader["ExpireDate"]);
						this._LeftCash = DataUtils.ConvertValue<decimal?>(reader["LeftCash"]);
						this._LeftTimes = DataUtils.ConvertValue<int?>(reader["LeftTimes"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MemCardID = DataUtils.ConvertValue<int>(row["MemCardID"]);
					this._MemCardNo = DataUtils.ConvertValue<string>(row["MemCardNo"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					this._MemTypeID = DataUtils.ConvertValue<int?>(row["MemTypeID"]);
					this._StartDate = DataUtils.ConvertValue<DateTime?>(row["StartDate"]);
					this._ExpireDate = DataUtils.ConvertValue<DateTime?>(row["ExpireDate"]);
					this._LeftCash = DataUtils.ConvertValue<decimal?>(row["LeftCash"]);
					this._LeftTimes = DataUtils.ConvertValue<int?>(row["LeftTimes"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","MemCard");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","MemCard","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardNo = new Field("MemCardNo","MemCard","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","MemCard","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","MemCard","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemTypeID = new Field("MemTypeID","MemCard","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartDate = new Field("StartDate","MemCard","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExpireDate = new Field("ExpireDate","MemCard","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LeftCash = new Field("LeftCash","MemCard","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LeftTimes = new Field("LeftTimes","MemCard","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类MemCardHistory
    /// <summary>
	/// 实体类MemCardHistory 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class MemCardHistory : Entity 
	{
	 /// <summary>
	/// 实体类MemCardHistory 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public MemCardHistory():base("MemCardHistory") {}

		#region Model

		
		private int _MemberID;//;
		
		private int? _MemCardID;//;
		
		private string _MemCardNo;//;
		
		private DateTime? _CreateDate;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MemberID
		{
			get{ 
				return _MemberID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemberID,_MemberID,value);
				this._MemberID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemCardNo
		{
			get{ 
				return _MemCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardNo,_MemCardNo,value);
				this._MemCardNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MemberID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MemberID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MemberID,

			
			_.MemCardID,

			
			_.MemCardNo,

			
			_.CreateDate

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MemberID,

			
			this._MemCardID,

			
			this._MemCardNo,

			
			this._CreateDate

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MemberID = DataUtils.ConvertValue<int>(reader["MemberID"]);
						this._MemCardID = DataUtils.ConvertValue<int?>(reader["MemCardID"]);
						this._MemCardNo = DataUtils.ConvertValue<string>(reader["MemCardNo"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MemberID = DataUtils.ConvertValue<int>(row["MemberID"]);
					this._MemCardID = DataUtils.ConvertValue<int?>(row["MemCardID"]);
					this._MemCardNo = DataUtils.ConvertValue<string>(row["MemCardNo"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","MemCardHistory");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemberID = new Field("MemberID","MemCardHistory","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","MemCardHistory","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardNo = new Field("MemCardNo","MemCardHistory","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","MemCardHistory","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类MemEnterLog
    /// <summary>
	/// 实体类MemEnterLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class MemEnterLog : Entity 
	{
	 /// <summary>
	/// 实体类MemEnterLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public MemEnterLog():base("MemEnterLog") {}

		#region Model

		
		private int _MemEnterLogID;//;
		
		private int _MemCardID;//;
		
		private int? _DoorID;//;
		
		private DateTime? _EnterTime;//;
		
		private bool? _IsExit;//;
		
		private int? _CardExpenseLogID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MemEnterLogID
		{
			get{ 
				return _MemEnterLogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemEnterLogID,_MemEnterLogID,value);
				this._MemEnterLogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DoorID
		{
			get{ 
				return _DoorID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DoorID,_DoorID,value);
				this._DoorID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EnterTime
		{
			get{ 
				return _EnterTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.EnterTime,_EnterTime,value);
				this._EnterTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsExit
		{
			get{ 
				return _IsExit;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsExit,_IsExit,value);
				this._IsExit=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CardExpenseLogID
		{
			get{ 
				return _CardExpenseLogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CardExpenseLogID,_CardExpenseLogID,value);
				this._CardExpenseLogID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MemEnterLogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MemEnterLogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MemEnterLogID,

			
			_.MemCardID,

			
			_.DoorID,

			
			_.EnterTime,

			
			_.IsExit,

			
			_.CardExpenseLogID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MemEnterLogID,

			
			this._MemCardID,

			
			this._DoorID,

			
			this._EnterTime,

			
			this._IsExit,

			
			this._CardExpenseLogID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MemEnterLogID = DataUtils.ConvertValue<int>(reader["MemEnterLogID"]);
						this._MemCardID = DataUtils.ConvertValue<int>(reader["MemCardID"]);
						this._DoorID = DataUtils.ConvertValue<int?>(reader["DoorID"]);
						this._EnterTime = DataUtils.ConvertValue<DateTime?>(reader["EnterTime"]);
						this._IsExit = DataUtils.ConvertValue<bool?>(reader["IsExit"]);
						this._CardExpenseLogID = DataUtils.ConvertValue<int?>(reader["CardExpenseLogID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MemEnterLogID = DataUtils.ConvertValue<int>(row["MemEnterLogID"]);
					this._MemCardID = DataUtils.ConvertValue<int>(row["MemCardID"]);
					this._DoorID = DataUtils.ConvertValue<int?>(row["DoorID"]);
					this._EnterTime = DataUtils.ConvertValue<DateTime?>(row["EnterTime"]);
					this._IsExit = DataUtils.ConvertValue<bool?>(row["IsExit"]);
					this._CardExpenseLogID = DataUtils.ConvertValue<int?>(row["CardExpenseLogID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","MemEnterLog");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemEnterLogID = new Field("MemEnterLogID","MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DoorID = new Field("DoorID","MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EnterTime = new Field("EnterTime","MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsExit = new Field("IsExit","MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CardExpenseLogID = new Field("CardExpenseLogID","MemEnterLog","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类MemExitLog
    /// <summary>
	/// 实体类MemExitLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class MemExitLog : Entity 
	{
	 /// <summary>
	/// 实体类MemExitLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public MemExitLog():base("MemExitLog") {}

		#region Model

		
		private int _MemExitLogID;//;
		
		private int? _DoorID;//;
		
		private DateTime? _LeaveTime;//;
		
		private int? _MemCardID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MemExitLogID
		{
			get{ 
				return _MemExitLogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemExitLogID,_MemExitLogID,value);
				this._MemExitLogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DoorID
		{
			get{ 
				return _DoorID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DoorID,_DoorID,value);
				this._DoorID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LeaveTime
		{
			get{ 
				return _LeaveTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.LeaveTime,_LeaveTime,value);
				this._LeaveTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MemExitLogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MemExitLogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MemExitLogID,

			
			_.DoorID,

			
			_.LeaveTime,

			
			_.MemCardID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MemExitLogID,

			
			this._DoorID,

			
			this._LeaveTime,

			
			this._MemCardID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MemExitLogID = DataUtils.ConvertValue<int>(reader["MemExitLogID"]);
						this._DoorID = DataUtils.ConvertValue<int?>(reader["DoorID"]);
						this._LeaveTime = DataUtils.ConvertValue<DateTime?>(reader["LeaveTime"]);
						this._MemCardID = DataUtils.ConvertValue<int?>(reader["MemCardID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MemExitLogID = DataUtils.ConvertValue<int>(row["MemExitLogID"]);
					this._DoorID = DataUtils.ConvertValue<int?>(row["DoorID"]);
					this._LeaveTime = DataUtils.ConvertValue<DateTime?>(row["LeaveTime"]);
					this._MemCardID = DataUtils.ConvertValue<int?>(row["MemCardID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","MemExitLog");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemExitLogID = new Field("MemExitLogID","MemExitLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DoorID = new Field("DoorID","MemExitLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LeaveTime = new Field("LeaveTime","MemExitLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","MemExitLog","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类MemType
    /// <summary>
	/// 实体类MemType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class MemType : Entity 
	{
	 /// <summary>
	/// 实体类MemType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public MemType():base("MemType") {}

		#region Model

		
		private int _MemTypeID;//;
		
		private string _Value;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MemTypeID
		{
			get{ 
				return _MemTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemTypeID,_MemTypeID,value);
				this._MemTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MemTypeID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MemTypeID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MemTypeID,

			
			_.Value

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MemTypeID,

			
			this._Value

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MemTypeID = DataUtils.ConvertValue<int>(reader["MemTypeID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MemTypeID = DataUtils.ConvertValue<int>(row["MemTypeID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","MemType");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemTypeID = new Field("MemTypeID","MemType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","MemType","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Menu
    /// <summary>
	/// 实体类Menu 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Menu : Entity 
	{
	 /// <summary>
	/// 实体类Menu 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Menu():base("Menu") {}

		#region Model

		
		private int _MenuID;//;
		
		private string _MenuName;//;
		
		private string _WebUrl;//;
		
		private int? _ParentID;//;
		
		private string _Node;//;
		
		private int? _MenuNode;//;
		
		private bool? _IsShow;//;
		
		private string _IconUrl;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MenuID
		{
			get{ 
				return _MenuID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MenuID,_MenuID,value);
				this._MenuID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MenuName
		{
			get{ 
				return _MenuName;
			 }
			set
			{
				this.OnPropertyValueChange(_.MenuName,_MenuName,value);
				this._MenuName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string WebUrl
		{
			get{ 
				return _WebUrl;
			 }
			set
			{
				this.OnPropertyValueChange(_.WebUrl,_WebUrl,value);
				this._WebUrl=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ParentID
		{
			get{ 
				return _ParentID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ParentID,_ParentID,value);
				this._ParentID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Node
		{
			get{ 
				return _Node;
			 }
			set
			{
				this.OnPropertyValueChange(_.Node,_Node,value);
				this._Node=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MenuNode
		{
			get{ 
				return _MenuNode;
			 }
			set
			{
				this.OnPropertyValueChange(_.MenuNode,_MenuNode,value);
				this._MenuNode=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsShow
		{
			get{ 
				return _IsShow;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsShow,_IsShow,value);
				this._IsShow=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IconUrl
		{
			get{ 
				return _IconUrl;
			 }
			set
			{
				this.OnPropertyValueChange(_.IconUrl,_IconUrl,value);
				this._IconUrl=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MenuID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MenuID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MenuID,

			
			_.MenuName,

			
			_.WebUrl,

			
			_.ParentID,

			
			_.Node,

			
			_.MenuNode,

			
			_.IsShow,

			
			_.IconUrl

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MenuID,

			
			this._MenuName,

			
			this._WebUrl,

			
			this._ParentID,

			
			this._Node,

			
			this._MenuNode,

			
			this._IsShow,

			
			this._IconUrl

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MenuID = DataUtils.ConvertValue<int>(reader["MenuID"]);
						this._MenuName = DataUtils.ConvertValue<string>(reader["MenuName"]);
						this._WebUrl = DataUtils.ConvertValue<string>(reader["WebUrl"]);
						this._ParentID = DataUtils.ConvertValue<int?>(reader["ParentID"]);
						this._Node = DataUtils.ConvertValue<string>(reader["Node"]);
						this._MenuNode = DataUtils.ConvertValue<int?>(reader["MenuNode"]);
						this._IsShow = DataUtils.ConvertValue<bool?>(reader["IsShow"]);
						this._IconUrl = DataUtils.ConvertValue<string>(reader["IconUrl"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MenuID = DataUtils.ConvertValue<int>(row["MenuID"]);
					this._MenuName = DataUtils.ConvertValue<string>(row["MenuName"]);
					this._WebUrl = DataUtils.ConvertValue<string>(row["WebUrl"]);
					this._ParentID = DataUtils.ConvertValue<int?>(row["ParentID"]);
					this._Node = DataUtils.ConvertValue<string>(row["Node"]);
					this._MenuNode = DataUtils.ConvertValue<int?>(row["MenuNode"]);
					this._IsShow = DataUtils.ConvertValue<bool?>(row["IsShow"]);
					this._IconUrl = DataUtils.ConvertValue<string>(row["IconUrl"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Menu");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MenuID = new Field("MenuID","Menu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MenuName = new Field("MenuName","Menu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field WebUrl = new Field("WebUrl","Menu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ParentID = new Field("ParentID","Menu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Node = new Field("Node","Menu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MenuNode = new Field("MenuNode","Menu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsShow = new Field("IsShow","Menu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IconUrl = new Field("IconUrl","Menu","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Position
    /// <summary>
	/// 实体类Position 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Position : Entity 
	{
	 /// <summary>
	/// 实体类Position 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Position():base("Position") {}

		#region Model

		
		private int _PositionID;//;
		
		private string _Value;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int PositionID
		{
			get{ 
				return _PositionID;
			 }
			set
			{
				this.OnPropertyValueChange(_.PositionID,_PositionID,value);
				this._PositionID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.PositionID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.PositionID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.PositionID,

			
			_.Value

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._PositionID,

			
			this._Value

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._PositionID = DataUtils.ConvertValue<int>(reader["PositionID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._PositionID = DataUtils.ConvertValue<int>(row["PositionID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Position");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field PositionID = new Field("PositionID","Position","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","Position","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类PrintExpense
    /// <summary>
	/// 实体类PrintExpense 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class PrintExpense : Entity 
	{
	 /// <summary>
	/// 实体类PrintExpense 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public PrintExpense():base("PrintExpense") {}

		#region Model

		
		private int _PrintID;//;
		
		private DateTime? _CreateTime;//;
		
		private int? _EndPlaceID;//;
		
		private int? _CardExpenseLogID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int PrintID
		{
			get{ 
				return _PrintID;
			 }
			set
			{
				this.OnPropertyValueChange(_.PrintID,_PrintID,value);
				this._PrintID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateTime
		{
			get{ 
				return _CreateTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateTime,_CreateTime,value);
				this._CreateTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? EndPlaceID
		{
			get{ 
				return _EndPlaceID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndPlaceID,_EndPlaceID,value);
				this._EndPlaceID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CardExpenseLogID
		{
			get{ 
				return _CardExpenseLogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CardExpenseLogID,_CardExpenseLogID,value);
				this._CardExpenseLogID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.PrintID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.PrintID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.PrintID,

			
			_.CreateTime,

			
			_.EndPlaceID,

			
			_.CardExpenseLogID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._PrintID,

			
			this._CreateTime,

			
			this._EndPlaceID,

			
			this._CardExpenseLogID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._PrintID = DataUtils.ConvertValue<int>(reader["PrintID"]);
						this._CreateTime = DataUtils.ConvertValue<DateTime?>(reader["CreateTime"]);
						this._EndPlaceID = DataUtils.ConvertValue<int?>(reader["EndPlaceID"]);
						this._CardExpenseLogID = DataUtils.ConvertValue<int?>(reader["CardExpenseLogID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._PrintID = DataUtils.ConvertValue<int>(row["PrintID"]);
					this._CreateTime = DataUtils.ConvertValue<DateTime?>(row["CreateTime"]);
					this._EndPlaceID = DataUtils.ConvertValue<int?>(row["EndPlaceID"]);
					this._CardExpenseLogID = DataUtils.ConvertValue<int?>(row["CardExpenseLogID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","PrintExpense");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field PrintID = new Field("PrintID","PrintExpense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateTime = new Field("CreateTime","PrintExpense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndPlaceID = new Field("EndPlaceID","PrintExpense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CardExpenseLogID = new Field("CardExpenseLogID","PrintExpense","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Region
    /// <summary>
	/// 实体类Region 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Region : Entity 
	{
	 /// <summary>
	/// 实体类Region 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Region():base("Region") {}

		#region Model

		
		private int _RegionID;//;
		
		private string _RegionName;//;
		
		private int? _ParentID;//;
		
		private int? _RegionLevel;//;
		
		private int? _RegionOrder;//;
		
		private string _RegionNameEN;//;
		
		private string _RegionShortName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int RegionID
		{
			get{ 
				return _RegionID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RegionID,_RegionID,value);
				this._RegionID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RegionName
		{
			get{ 
				return _RegionName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RegionName,_RegionName,value);
				this._RegionName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ParentID
		{
			get{ 
				return _ParentID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ParentID,_ParentID,value);
				this._ParentID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RegionLevel
		{
			get{ 
				return _RegionLevel;
			 }
			set
			{
				this.OnPropertyValueChange(_.RegionLevel,_RegionLevel,value);
				this._RegionLevel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RegionOrder
		{
			get{ 
				return _RegionOrder;
			 }
			set
			{
				this.OnPropertyValueChange(_.RegionOrder,_RegionOrder,value);
				this._RegionOrder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RegionNameEN
		{
			get{ 
				return _RegionNameEN;
			 }
			set
			{
				this.OnPropertyValueChange(_.RegionNameEN,_RegionNameEN,value);
				this._RegionNameEN=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RegionShortName
		{
			get{ 
				return _RegionShortName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RegionShortName,_RegionShortName,value);
				this._RegionShortName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.RegionID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.RegionID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.RegionID,

			
			_.RegionName,

			
			_.ParentID,

			
			_.RegionLevel,

			
			_.RegionOrder,

			
			_.RegionNameEN,

			
			_.RegionShortName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._RegionID,

			
			this._RegionName,

			
			this._ParentID,

			
			this._RegionLevel,

			
			this._RegionOrder,

			
			this._RegionNameEN,

			
			this._RegionShortName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._RegionID = DataUtils.ConvertValue<int>(reader["RegionID"]);
						this._RegionName = DataUtils.ConvertValue<string>(reader["RegionName"]);
						this._ParentID = DataUtils.ConvertValue<int?>(reader["ParentID"]);
						this._RegionLevel = DataUtils.ConvertValue<int?>(reader["RegionLevel"]);
						this._RegionOrder = DataUtils.ConvertValue<int?>(reader["RegionOrder"]);
						this._RegionNameEN = DataUtils.ConvertValue<string>(reader["RegionNameEN"]);
						this._RegionShortName = DataUtils.ConvertValue<string>(reader["RegionShortName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._RegionID = DataUtils.ConvertValue<int>(row["RegionID"]);
					this._RegionName = DataUtils.ConvertValue<string>(row["RegionName"]);
					this._ParentID = DataUtils.ConvertValue<int?>(row["ParentID"]);
					this._RegionLevel = DataUtils.ConvertValue<int?>(row["RegionLevel"]);
					this._RegionOrder = DataUtils.ConvertValue<int?>(row["RegionOrder"]);
					this._RegionNameEN = DataUtils.ConvertValue<string>(row["RegionNameEN"]);
					this._RegionShortName = DataUtils.ConvertValue<string>(row["RegionShortName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Region");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field RegionID = new Field("RegionID","Region","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RegionName = new Field("RegionName","Region","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ParentID = new Field("ParentID","Region","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RegionLevel = new Field("RegionLevel","Region","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RegionOrder = new Field("RegionOrder","Region","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RegionNameEN = new Field("RegionNameEN","Region","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RegionShortName = new Field("RegionShortName","Region","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Role
    /// <summary>
	/// 实体类Role 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Role : Entity 
	{
	 /// <summary>
	/// 实体类Role 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Role():base("Role") {}

		#region Model

		
		private int _RoleID;//;
		
		private string _RoleName;//;
		
		private string _Description;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int RoleID
		{
			get{ 
				return _RoleID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleID,_RoleID,value);
				this._RoleID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoleName
		{
			get{ 
				return _RoleName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleName,_RoleName,value);
				this._RoleName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.RoleID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.RoleID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.RoleID,

			
			_.RoleName,

			
			_.Description,

			
			_.CreateDate,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._RoleID,

			
			this._RoleName,

			
			this._Description,

			
			this._CreateDate,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._RoleID = DataUtils.ConvertValue<int>(reader["RoleID"]);
						this._RoleName = DataUtils.ConvertValue<string>(reader["RoleName"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._RoleID = DataUtils.ConvertValue<int>(row["RoleID"]);
					this._RoleName = DataUtils.ConvertValue<string>(row["RoleName"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Role");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleID = new Field("RoleID","Role","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleName = new Field("RoleName","Role","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","Role","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Role","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","Role","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类RoleInMenu
    /// <summary>
	/// 实体类RoleInMenu 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class RoleInMenu : Entity 
	{
	 /// <summary>
	/// 实体类RoleInMenu 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public RoleInMenu():base("RoleInMenu") {}

		#region Model

		
		private int _ID;//;
		
		private int _RoleID;//;
		
		private int _MenuID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ 
				return _ID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int RoleID
		{
			get{ 
				return _RoleID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleID,_RoleID,value);
				this._RoleID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int MenuID
		{
			get{ 
				return _MenuID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MenuID,_MenuID,value);
				this._MenuID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.RoleID,

			
			_.MenuID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._RoleID,

			
			this._MenuID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._RoleID = DataUtils.ConvertValue<int>(reader["RoleID"]);
						this._MenuID = DataUtils.ConvertValue<int>(reader["MenuID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._RoleID = DataUtils.ConvertValue<int>(row["RoleID"]);
					this._MenuID = DataUtils.ConvertValue<int>(row["MenuID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","RoleInMenu");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","RoleInMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleID = new Field("RoleID","RoleInMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MenuID = new Field("MenuID","RoleInMenu","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Room
    /// <summary>
	/// 实体类Room 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Room : Entity 
	{
	 /// <summary>
	/// 实体类Room 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Room():base("Room") {}

		#region Model

		
		private int _RoomID;//;
		
		private string _RoomNo;//;
		
		private string _RoomName;//;
		
		private int? _RoomTypeID;//;
		
		private int? _AreaID;//;
		
		private string _Description;//;
		
		private decimal? _SqMeters;//;
		
		private decimal? _RentalPrice;//;
		
		private int? _StatusID;//;
		
		private string _ScreenNo;//;
		
		private string _LedIP;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int RoomID
		{
			get{ 
				return _RoomID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomID,_RoomID,value);
				this._RoomID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoomNo
		{
			get{ 
				return _RoomNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomNo,_RoomNo,value);
				this._RoomNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoomName
		{
			get{ 
				return _RoomName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomName,_RoomName,value);
				this._RoomName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoomTypeID
		{
			get{ 
				return _RoomTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomTypeID,_RoomTypeID,value);
				this._RoomTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AreaID
		{
			get{ 
				return _AreaID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaID,_AreaID,value);
				this._AreaID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? SqMeters
		{
			get{ 
				return _SqMeters;
			 }
			set
			{
				this.OnPropertyValueChange(_.SqMeters,_SqMeters,value);
				this._SqMeters=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? RentalPrice
		{
			get{ 
				return _RentalPrice;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentalPrice,_RentalPrice,value);
				this._RentalPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ScreenNo
		{
			get{ 
				return _ScreenNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.ScreenNo,_ScreenNo,value);
				this._ScreenNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string LedIP
		{
			get{ 
				return _LedIP;
			 }
			set
			{
				this.OnPropertyValueChange(_.LedIP,_LedIP,value);
				this._LedIP=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.RoomID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.RoomID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.RoomID,

			
			_.RoomNo,

			
			_.RoomName,

			
			_.RoomTypeID,

			
			_.AreaID,

			
			_.Description,

			
			_.SqMeters,

			
			_.RentalPrice,

			
			_.StatusID,

			
			_.ScreenNo,

			
			_.LedIP,

			
			_.CreateDate,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._RoomID,

			
			this._RoomNo,

			
			this._RoomName,

			
			this._RoomTypeID,

			
			this._AreaID,

			
			this._Description,

			
			this._SqMeters,

			
			this._RentalPrice,

			
			this._StatusID,

			
			this._ScreenNo,

			
			this._LedIP,

			
			this._CreateDate,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._RoomID = DataUtils.ConvertValue<int>(reader["RoomID"]);
						this._RoomNo = DataUtils.ConvertValue<string>(reader["RoomNo"]);
						this._RoomName = DataUtils.ConvertValue<string>(reader["RoomName"]);
						this._RoomTypeID = DataUtils.ConvertValue<int?>(reader["RoomTypeID"]);
						this._AreaID = DataUtils.ConvertValue<int?>(reader["AreaID"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._SqMeters = DataUtils.ConvertValue<decimal?>(reader["SqMeters"]);
						this._RentalPrice = DataUtils.ConvertValue<decimal?>(reader["RentalPrice"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._ScreenNo = DataUtils.ConvertValue<string>(reader["ScreenNo"]);
						this._LedIP = DataUtils.ConvertValue<string>(reader["LedIP"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._RoomID = DataUtils.ConvertValue<int>(row["RoomID"]);
					this._RoomNo = DataUtils.ConvertValue<string>(row["RoomNo"]);
					this._RoomName = DataUtils.ConvertValue<string>(row["RoomName"]);
					this._RoomTypeID = DataUtils.ConvertValue<int?>(row["RoomTypeID"]);
					this._AreaID = DataUtils.ConvertValue<int?>(row["AreaID"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._SqMeters = DataUtils.ConvertValue<decimal?>(row["SqMeters"]);
					this._RentalPrice = DataUtils.ConvertValue<decimal?>(row["RentalPrice"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._ScreenNo = DataUtils.ConvertValue<string>(row["ScreenNo"]);
					this._LedIP = DataUtils.ConvertValue<string>(row["LedIP"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Room");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomID = new Field("RoomID","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomNo = new Field("RoomNo","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomName = new Field("RoomName","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomTypeID = new Field("RoomTypeID","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaID = new Field("AreaID","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SqMeters = new Field("SqMeters","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentalPrice = new Field("RentalPrice","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ScreenNo = new Field("ScreenNo","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LedIP = new Field("LedIP","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Room","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","Room","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类RoomType
    /// <summary>
	/// 实体类RoomType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class RoomType : Entity 
	{
	 /// <summary>
	/// 实体类RoomType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public RoomType():base("RoomType") {}

		#region Model

		
		private int _RoomTypeID;//;
		
		private string _Value;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int RoomTypeID
		{
			get{ 
				return _RoomTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomTypeID,_RoomTypeID,value);
				this._RoomTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.RoomTypeID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.RoomTypeID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.RoomTypeID,

			
			_.Value

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._RoomTypeID,

			
			this._Value

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._RoomTypeID = DataUtils.ConvertValue<int>(reader["RoomTypeID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._RoomTypeID = DataUtils.ConvertValue<int>(row["RoomTypeID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","RoomType");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomTypeID = new Field("RoomTypeID","RoomType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","RoomType","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类ScoreType
    /// <summary>
	/// 实体类ScoreType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class ScoreType : Entity 
	{
	 /// <summary>
	/// 实体类ScoreType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public ScoreType():base("ScoreType") {}

		#region Model

		
		private int _ScoreTypeID;//;
		
		private string _Value;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ScoreTypeID
		{
			get{ 
				return _ScoreTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ScoreTypeID,_ScoreTypeID,value);
				this._ScoreTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ScoreTypeID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ScoreTypeID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ScoreTypeID,

			
			_.Value

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ScoreTypeID,

			
			this._Value

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ScoreTypeID = DataUtils.ConvertValue<int>(reader["ScoreTypeID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ScoreTypeID = DataUtils.ConvertValue<int>(row["ScoreTypeID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","ScoreType");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ScoreTypeID = new Field("ScoreTypeID","ScoreType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","ScoreType","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Status
    /// <summary>
	/// 实体类Status 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Status : Entity 
	{
	 /// <summary>
	/// 实体类Status 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Status():base("Status") {}

		#region Model

		
		private int _StatusID;//;
		
		private string _Value;//;
		
		private string _Note;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Note
		{
			get{ 
				return _Note;
			 }
			set
			{
				this.OnPropertyValueChange(_.Note,_Note,value);
				this._Note=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.StatusID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.StatusID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.StatusID,

			
			_.Value,

			
			_.Note

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._StatusID,

			
			this._Value,

			
			this._Note

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._StatusID = DataUtils.ConvertValue<int>(reader["StatusID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
						this._Note = DataUtils.ConvertValue<string>(reader["Note"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._StatusID = DataUtils.ConvertValue<int>(row["StatusID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					this._Note = DataUtils.ConvertValue<string>(row["Note"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Status");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","Status","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","Status","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Note = new Field("Note","Status","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类User
    /// <summary>
	/// 实体类User 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class User : Entity 
	{
	 /// <summary>
	/// 实体类User 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public User():base("User") {}

		#region Model

		
		private int _UserID;//;
		
		private string _UserName;//;
		
		private string _UserPwd;//;
		
		private int? _StatusID;//;
		
		private int? _MemCardID;//;
		
		private int? _DeptID;//;
		
		private int? _PositionID;//;
		
		private int? _CompanyID;//;
		
		private bool? _Sex;//;
		
		private DateTime? _Birthday;//;
		
		private string _Pop3UserName;//;
		
		private string _Pop3UserPwd;//;
		
		private string _Pop3Port;//;
		
		private string _SMTPUserName;//;
		
		private string _SMTPUserPwd;//;
		
		private string _SMTPServer;//;
		
		private string _SMTPFromEmail;//;
		
		private DateTime? _CreateDate;//;
		
		private DateTime? _ModifyDate;//;
		
		private int? _CreateUserID;//;
		
		private int? _ModifyUserID;//;
		
		private string _Phone1;//;
		
		private string _Phone2;//;
		
		private string _RealName;//;
		
		private DateTime? _LoginTime;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int UserID
		{
			get{ 
				return _UserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserID,_UserID,value);
				this._UserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserPwd
		{
			get{ 
				return _UserPwd;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserPwd,_UserPwd,value);
				this._UserPwd=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DeptID
		{
			get{ 
				return _DeptID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptID,_DeptID,value);
				this._DeptID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? PositionID
		{
			get{ 
				return _PositionID;
			 }
			set
			{
				this.OnPropertyValueChange(_.PositionID,_PositionID,value);
				this._PositionID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? Sex
		{
			get{ 
				return _Sex;
			 }
			set
			{
				this.OnPropertyValueChange(_.Sex,_Sex,value);
				this._Sex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? Birthday
		{
			get{ 
				return _Birthday;
			 }
			set
			{
				this.OnPropertyValueChange(_.Birthday,_Birthday,value);
				this._Birthday=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Pop3UserName
		{
			get{ 
				return _Pop3UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.Pop3UserName,_Pop3UserName,value);
				this._Pop3UserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Pop3UserPwd
		{
			get{ 
				return _Pop3UserPwd;
			 }
			set
			{
				this.OnPropertyValueChange(_.Pop3UserPwd,_Pop3UserPwd,value);
				this._Pop3UserPwd=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Pop3Port
		{
			get{ 
				return _Pop3Port;
			 }
			set
			{
				this.OnPropertyValueChange(_.Pop3Port,_Pop3Port,value);
				this._Pop3Port=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string SMTPUserName
		{
			get{ 
				return _SMTPUserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.SMTPUserName,_SMTPUserName,value);
				this._SMTPUserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string SMTPUserPwd
		{
			get{ 
				return _SMTPUserPwd;
			 }
			set
			{
				this.OnPropertyValueChange(_.SMTPUserPwd,_SMTPUserPwd,value);
				this._SMTPUserPwd=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string SMTPServer
		{
			get{ 
				return _SMTPServer;
			 }
			set
			{
				this.OnPropertyValueChange(_.SMTPServer,_SMTPServer,value);
				this._SMTPServer=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string SMTPFromEmail
		{
			get{ 
				return _SMTPFromEmail;
			 }
			set
			{
				this.OnPropertyValueChange(_.SMTPFromEmail,_SMTPFromEmail,value);
				this._SMTPFromEmail=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ModifyDate
		{
			get{ 
				return _ModifyDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.ModifyDate,_ModifyDate,value);
				this._ModifyDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ModifyUserID
		{
			get{ 
				return _ModifyUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ModifyUserID,_ModifyUserID,value);
				this._ModifyUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone1
		{
			get{ 
				return _Phone1;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone1,_Phone1,value);
				this._Phone1=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone2
		{
			get{ 
				return _Phone2;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone2,_Phone2,value);
				this._Phone2=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RealName
		{
			get{ 
				return _RealName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RealName,_RealName,value);
				this._RealName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LoginTime
		{
			get{ 
				return _LoginTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.LoginTime,_LoginTime,value);
				this._LoginTime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.UserID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.UserID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.UserID,

			
			_.UserName,

			
			_.UserPwd,

			
			_.StatusID,

			
			_.MemCardID,

			
			_.DeptID,

			
			_.PositionID,

			
			_.CompanyID,

			
			_.Sex,

			
			_.Birthday,

			
			_.Pop3UserName,

			
			_.Pop3UserPwd,

			
			_.Pop3Port,

			
			_.SMTPUserName,

			
			_.SMTPUserPwd,

			
			_.SMTPServer,

			
			_.SMTPFromEmail,

			
			_.CreateDate,

			
			_.ModifyDate,

			
			_.CreateUserID,

			
			_.ModifyUserID,

			
			_.Phone1,

			
			_.Phone2,

			
			_.RealName,

			
			_.LoginTime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._UserID,

			
			this._UserName,

			
			this._UserPwd,

			
			this._StatusID,

			
			this._MemCardID,

			
			this._DeptID,

			
			this._PositionID,

			
			this._CompanyID,

			
			this._Sex,

			
			this._Birthday,

			
			this._Pop3UserName,

			
			this._Pop3UserPwd,

			
			this._Pop3Port,

			
			this._SMTPUserName,

			
			this._SMTPUserPwd,

			
			this._SMTPServer,

			
			this._SMTPFromEmail,

			
			this._CreateDate,

			
			this._ModifyDate,

			
			this._CreateUserID,

			
			this._ModifyUserID,

			
			this._Phone1,

			
			this._Phone2,

			
			this._RealName,

			
			this._LoginTime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._UserID = DataUtils.ConvertValue<int>(reader["UserID"]);
						this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
						this._UserPwd = DataUtils.ConvertValue<string>(reader["UserPwd"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._MemCardID = DataUtils.ConvertValue<int?>(reader["MemCardID"]);
						this._DeptID = DataUtils.ConvertValue<int?>(reader["DeptID"]);
						this._PositionID = DataUtils.ConvertValue<int?>(reader["PositionID"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
						this._Sex = DataUtils.ConvertValue<bool?>(reader["Sex"]);
						this._Birthday = DataUtils.ConvertValue<DateTime?>(reader["Birthday"]);
						this._Pop3UserName = DataUtils.ConvertValue<string>(reader["Pop3UserName"]);
						this._Pop3UserPwd = DataUtils.ConvertValue<string>(reader["Pop3UserPwd"]);
						this._Pop3Port = DataUtils.ConvertValue<string>(reader["Pop3Port"]);
						this._SMTPUserName = DataUtils.ConvertValue<string>(reader["SMTPUserName"]);
						this._SMTPUserPwd = DataUtils.ConvertValue<string>(reader["SMTPUserPwd"]);
						this._SMTPServer = DataUtils.ConvertValue<string>(reader["SMTPServer"]);
						this._SMTPFromEmail = DataUtils.ConvertValue<string>(reader["SMTPFromEmail"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._ModifyDate = DataUtils.ConvertValue<DateTime?>(reader["ModifyDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._ModifyUserID = DataUtils.ConvertValue<int?>(reader["ModifyUserID"]);
						this._Phone1 = DataUtils.ConvertValue<string>(reader["Phone1"]);
						this._Phone2 = DataUtils.ConvertValue<string>(reader["Phone2"]);
						this._RealName = DataUtils.ConvertValue<string>(reader["RealName"]);
						this._LoginTime = DataUtils.ConvertValue<DateTime?>(reader["LoginTime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._UserID = DataUtils.ConvertValue<int>(row["UserID"]);
					this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					this._UserPwd = DataUtils.ConvertValue<string>(row["UserPwd"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._MemCardID = DataUtils.ConvertValue<int?>(row["MemCardID"]);
					this._DeptID = DataUtils.ConvertValue<int?>(row["DeptID"]);
					this._PositionID = DataUtils.ConvertValue<int?>(row["PositionID"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					this._Sex = DataUtils.ConvertValue<bool?>(row["Sex"]);
					this._Birthday = DataUtils.ConvertValue<DateTime?>(row["Birthday"]);
					this._Pop3UserName = DataUtils.ConvertValue<string>(row["Pop3UserName"]);
					this._Pop3UserPwd = DataUtils.ConvertValue<string>(row["Pop3UserPwd"]);
					this._Pop3Port = DataUtils.ConvertValue<string>(row["Pop3Port"]);
					this._SMTPUserName = DataUtils.ConvertValue<string>(row["SMTPUserName"]);
					this._SMTPUserPwd = DataUtils.ConvertValue<string>(row["SMTPUserPwd"]);
					this._SMTPServer = DataUtils.ConvertValue<string>(row["SMTPServer"]);
					this._SMTPFromEmail = DataUtils.ConvertValue<string>(row["SMTPFromEmail"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._ModifyDate = DataUtils.ConvertValue<DateTime?>(row["ModifyDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._ModifyUserID = DataUtils.ConvertValue<int?>(row["ModifyUserID"]);
					this._Phone1 = DataUtils.ConvertValue<string>(row["Phone1"]);
					this._Phone2 = DataUtils.ConvertValue<string>(row["Phone2"]);
					this._RealName = DataUtils.ConvertValue<string>(row["RealName"]);
					this._LoginTime = DataUtils.ConvertValue<DateTime?>(row["LoginTime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","User");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserID = new Field("UserID","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserPwd = new Field("UserPwd","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptID = new Field("DeptID","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PositionID = new Field("PositionID","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sex = new Field("Sex","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Birthday = new Field("Birthday","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Pop3UserName = new Field("Pop3UserName","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Pop3UserPwd = new Field("Pop3UserPwd","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Pop3Port = new Field("Pop3Port","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SMTPUserName = new Field("SMTPUserName","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SMTPUserPwd = new Field("SMTPUserPwd","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SMTPServer = new Field("SMTPServer","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SMTPFromEmail = new Field("SMTPFromEmail","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ModifyDate = new Field("ModifyDate","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ModifyUserID = new Field("ModifyUserID","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone1 = new Field("Phone1","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone2 = new Field("Phone2","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RealName = new Field("RealName","User","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LoginTime = new Field("LoginTime","User","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类UserInRole
    /// <summary>
	/// 实体类UserInRole 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class UserInRole : Entity 
	{
	 /// <summary>
	/// 实体类UserInRole 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public UserInRole():base("UserInRole") {}

		#region Model

		
		private int _ID;//;
		
		private int? _UserID;//;
		
		private int? _RoleID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ 
				return _ID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? UserID
		{
			get{ 
				return _UserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserID,_UserID,value);
				this._UserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoleID
		{
			get{ 
				return _RoleID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleID,_RoleID,value);
				this._RoleID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.UserID,

			
			_.RoleID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._UserID,

			
			this._RoleID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._UserID = DataUtils.ConvertValue<int?>(reader["UserID"]);
						this._RoleID = DataUtils.ConvertValue<int?>(reader["RoleID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._UserID = DataUtils.ConvertValue<int?>(row["UserID"]);
					this._RoleID = DataUtils.ConvertValue<int?>(row["RoleID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","UserInRole");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","UserInRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserID = new Field("UserID","UserInRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleID = new Field("RoleID","UserInRole","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_AddressbookUser
    /// <summary>
	/// 实体类V_AddressbookUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_AddressbookUser : Entity 
	{
	 /// <summary>
	/// 实体类V_AddressbookUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_AddressbookUser():base("V_AddressbookUser") {}

		#region Model

		
		private int _AddrID;//;
		
		private string _Address;//;
		
		private string _Name;//;
		
		private bool? _Sex;//;
		
		private string _Company;//;
		
		private string _Phone;//;
		
		private string _Email;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private int? _CompanyID;//;
		
		private string _CreateUserName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int AddrID
		{
			get{ 
				return _AddrID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AddrID,_AddrID,value);
				this._AddrID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Address
		{
			get{ 
				return _Address;
			 }
			set
			{
				this.OnPropertyValueChange(_.Address,_Address,value);
				this._Address=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? Sex
		{
			get{ 
				return _Sex;
			 }
			set
			{
				this.OnPropertyValueChange(_.Sex,_Sex,value);
				this._Sex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Company
		{
			get{ 
				return _Company;
			 }
			set
			{
				this.OnPropertyValueChange(_.Company,_Company,value);
				this._Company=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Email
		{
			get{ 
				return _Email;
			 }
			set
			{
				this.OnPropertyValueChange(_.Email,_Email,value);
				this._Email=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CreateUserName
		{
			get{ 
				return _CreateUserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserName,_CreateUserName,value);
				this._CreateUserName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.AddrID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.AddrID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.AddrID,

			
			_.Address,

			
			_.Name,

			
			_.Sex,

			
			_.Company,

			
			_.Phone,

			
			_.Email,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.CompanyID,

			
			_.CreateUserName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._AddrID,

			
			this._Address,

			
			this._Name,

			
			this._Sex,

			
			this._Company,

			
			this._Phone,

			
			this._Email,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._CompanyID,

			
			this._CreateUserName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._AddrID = DataUtils.ConvertValue<int>(reader["AddrID"]);
						this._Address = DataUtils.ConvertValue<string>(reader["Address"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._Sex = DataUtils.ConvertValue<bool?>(reader["Sex"]);
						this._Company = DataUtils.ConvertValue<string>(reader["Company"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._Email = DataUtils.ConvertValue<string>(reader["Email"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
						this._CreateUserName = DataUtils.ConvertValue<string>(reader["CreateUserName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._AddrID = DataUtils.ConvertValue<int>(row["AddrID"]);
					this._Address = DataUtils.ConvertValue<string>(row["Address"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._Sex = DataUtils.ConvertValue<bool?>(row["Sex"]);
					this._Company = DataUtils.ConvertValue<string>(row["Company"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._Email = DataUtils.ConvertValue<string>(row["Email"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					this._CreateUserName = DataUtils.ConvertValue<string>(row["CreateUserName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_AddressbookUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddrID = new Field("AddrID","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Address = new Field("Address","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sex = new Field("Sex","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Company = new Field("Company","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Email = new Field("Email","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","V_AddressbookUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserName = new Field("CreateUserName","V_AddressbookUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_AdvertisementUser
    /// <summary>
	/// 实体类V_AdvertisementUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_AdvertisementUser : Entity 
	{
	 /// <summary>
	/// 实体类V_AdvertisementUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_AdvertisementUser():base("V_AdvertisementUser") {}

		#region Model

		
		private int _AdID;//;
		
		private string _Title;//;
		
		private string _Description;//;
		
		private int? _StatusID;//;
		
		private bool? _IsHot;//;
		
		private DateTime? _StartDate;//;
		
		private DateTime? _EndDate;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _RealName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int AdID
		{
			get{ 
				return _AdID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AdID,_AdID,value);
				this._AdID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Title
		{
			get{ 
				return _Title;
			 }
			set
			{
				this.OnPropertyValueChange(_.Title,_Title,value);
				this._Title=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsHot
		{
			get{ 
				return _IsHot;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsHot,_IsHot,value);
				this._IsHot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDate
		{
			get{ 
				return _StartDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartDate,_StartDate,value);
				this._StartDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EndDate
		{
			get{ 
				return _EndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndDate,_EndDate,value);
				this._EndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RealName
		{
			get{ 
				return _RealName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RealName,_RealName,value);
				this._RealName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.AdID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.AdID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.AdID,

			
			_.Title,

			
			_.Description,

			
			_.StatusID,

			
			_.IsHot,

			
			_.StartDate,

			
			_.EndDate,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.RealName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._AdID,

			
			this._Title,

			
			this._Description,

			
			this._StatusID,

			
			this._IsHot,

			
			this._StartDate,

			
			this._EndDate,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._RealName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._AdID = DataUtils.ConvertValue<int>(reader["AdID"]);
						this._Title = DataUtils.ConvertValue<string>(reader["Title"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._IsHot = DataUtils.ConvertValue<bool?>(reader["IsHot"]);
						this._StartDate = DataUtils.ConvertValue<DateTime?>(reader["StartDate"]);
						this._EndDate = DataUtils.ConvertValue<DateTime?>(reader["EndDate"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._RealName = DataUtils.ConvertValue<string>(reader["RealName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._AdID = DataUtils.ConvertValue<int>(row["AdID"]);
					this._Title = DataUtils.ConvertValue<string>(row["Title"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._IsHot = DataUtils.ConvertValue<bool?>(row["IsHot"]);
					this._StartDate = DataUtils.ConvertValue<DateTime?>(row["StartDate"]);
					this._EndDate = DataUtils.ConvertValue<DateTime?>(row["EndDate"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._RealName = DataUtils.ConvertValue<string>(row["RealName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_AdvertisementUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field AdID = new Field("AdID","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Title = new Field("Title","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsHot = new Field("IsHot","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartDate = new Field("StartDate","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndDate = new Field("EndDate","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_AdvertisementUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RealName = new Field("RealName","V_AdvertisementUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_AnnounceUser
    /// <summary>
	/// 实体类V_AnnounceUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_AnnounceUser : Entity 
	{
	 /// <summary>
	/// 实体类V_AnnounceUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_AnnounceUser():base("V_AnnounceUser") {}

		#region Model

		
		private string _Title;//;
		
		private int _AnnID;//;
		
		private string _Description;//;
		
		private int? _StatusID;//;
		
		private DateTime? _StartDate;//;
		
		private DateTime? _EndDate;//;
		
		private DateTime? _CreateDate;//;
		
		private string _RealName;//;
		
		private bool? _IsHot;//;
		
		private int? _CreateUserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string Title
		{
			get{ 
				return _Title;
			 }
			set
			{
				this.OnPropertyValueChange(_.Title,_Title,value);
				this._Title=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int AnnID
		{
			get{ 
				return _AnnID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AnnID,_AnnID,value);
				this._AnnID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDate
		{
			get{ 
				return _StartDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartDate,_StartDate,value);
				this._StartDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EndDate
		{
			get{ 
				return _EndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndDate,_EndDate,value);
				this._EndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RealName
		{
			get{ 
				return _RealName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RealName,_RealName,value);
				this._RealName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsHot
		{
			get{ 
				return _IsHot;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsHot,_IsHot,value);
				this._IsHot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Title;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Title};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Title,

			
			_.AnnID,

			
			_.Description,

			
			_.StatusID,

			
			_.StartDate,

			
			_.EndDate,

			
			_.CreateDate,

			
			_.RealName,

			
			_.IsHot,

			
			_.CreateUserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Title,

			
			this._AnnID,

			
			this._Description,

			
			this._StatusID,

			
			this._StartDate,

			
			this._EndDate,

			
			this._CreateDate,

			
			this._RealName,

			
			this._IsHot,

			
			this._CreateUserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Title = DataUtils.ConvertValue<string>(reader["Title"]);
						this._AnnID = DataUtils.ConvertValue<int>(reader["AnnID"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._StartDate = DataUtils.ConvertValue<DateTime?>(reader["StartDate"]);
						this._EndDate = DataUtils.ConvertValue<DateTime?>(reader["EndDate"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._RealName = DataUtils.ConvertValue<string>(reader["RealName"]);
						this._IsHot = DataUtils.ConvertValue<bool?>(reader["IsHot"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Title = DataUtils.ConvertValue<string>(row["Title"]);
					this._AnnID = DataUtils.ConvertValue<int>(row["AnnID"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._StartDate = DataUtils.ConvertValue<DateTime?>(row["StartDate"]);
					this._EndDate = DataUtils.ConvertValue<DateTime?>(row["EndDate"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._RealName = DataUtils.ConvertValue<string>(row["RealName"]);
					this._IsHot = DataUtils.ConvertValue<bool?>(row["IsHot"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_AnnounceUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field Title = new Field("Title","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AnnID = new Field("AnnID","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartDate = new Field("StartDate","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndDate = new Field("EndDate","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RealName = new Field("RealName","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsHot = new Field("IsHot","V_AnnounceUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_AnnounceUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_AreaUser
    /// <summary>
	/// 实体类V_AreaUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_AreaUser : Entity 
	{
	 /// <summary>
	/// 实体类V_AreaUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_AreaUser():base("V_AreaUser") {}

		#region Model

		
		private int _AreaID;//;
		
		private string _AreaName;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _CreateUserName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int AreaID
		{
			get{ 
				return _AreaID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaID,_AreaID,value);
				this._AreaID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string AreaName
		{
			get{ 
				return _AreaName;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaName,_AreaName,value);
				this._AreaName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CreateUserName
		{
			get{ 
				return _CreateUserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserName,_CreateUserName,value);
				this._CreateUserName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.AreaID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.AreaID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.AreaID,

			
			_.AreaName,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.CreateUserName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._AreaID,

			
			this._AreaName,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._CreateUserName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._AreaID = DataUtils.ConvertValue<int>(reader["AreaID"]);
						this._AreaName = DataUtils.ConvertValue<string>(reader["AreaName"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._CreateUserName = DataUtils.ConvertValue<string>(reader["CreateUserName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._AreaID = DataUtils.ConvertValue<int>(row["AreaID"]);
					this._AreaName = DataUtils.ConvertValue<string>(row["AreaName"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._CreateUserName = DataUtils.ConvertValue<string>(row["CreateUserName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_AreaUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaID = new Field("AreaID","V_AreaUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaName = new Field("AreaName","V_AreaUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_AreaUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_AreaUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_AreaUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserName = new Field("CreateUserName","V_AreaUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_BounsplanMemtype
    /// <summary>
	/// 实体类V_BounsplanMemtype 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_BounsplanMemtype : Entity 
	{
	 /// <summary>
	/// 实体类V_BounsplanMemtype 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_BounsplanMemtype():base("V_BounsplanMemtype") {}

		#region Model

		
		private int _BounsPlanID;//;
		
		private decimal? _Income;//;
		
		private string _Name;//;
		
		private int _DayNumber;//;
		
		private int _MemTypeID;//;
		
		private string _MemType;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int BounsPlanID
		{
			get{ 
				return _BounsPlanID;
			 }
			set
			{
				this.OnPropertyValueChange(_.BounsPlanID,_BounsPlanID,value);
				this._BounsPlanID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Income
		{
			get{ 
				return _Income;
			 }
			set
			{
				this.OnPropertyValueChange(_.Income,_Income,value);
				this._Income=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int DayNumber
		{
			get{ 
				return _DayNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.DayNumber,_DayNumber,value);
				this._DayNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int MemTypeID
		{
			get{ 
				return _MemTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemTypeID,_MemTypeID,value);
				this._MemTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemType
		{
			get{ 
				return _MemType;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemType,_MemType,value);
				this._MemType=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.BounsPlanID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.BounsPlanID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.BounsPlanID,

			
			_.Income,

			
			_.Name,

			
			_.DayNumber,

			
			_.MemTypeID,

			
			_.MemType

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._BounsPlanID,

			
			this._Income,

			
			this._Name,

			
			this._DayNumber,

			
			this._MemTypeID,

			
			this._MemType

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._BounsPlanID = DataUtils.ConvertValue<int>(reader["BounsPlanID"]);
						this._Income = DataUtils.ConvertValue<decimal?>(reader["Income"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._DayNumber = DataUtils.ConvertValue<int>(reader["DayNumber"]);
						this._MemTypeID = DataUtils.ConvertValue<int>(reader["MemTypeID"]);
						this._MemType = DataUtils.ConvertValue<string>(reader["MemType"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._BounsPlanID = DataUtils.ConvertValue<int>(row["BounsPlanID"]);
					this._Income = DataUtils.ConvertValue<decimal?>(row["Income"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._DayNumber = DataUtils.ConvertValue<int>(row["DayNumber"]);
					this._MemTypeID = DataUtils.ConvertValue<int>(row["MemTypeID"]);
					this._MemType = DataUtils.ConvertValue<string>(row["MemType"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_BounsplanMemtype");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field BounsPlanID = new Field("BounsPlanID","V_BounsplanMemtype","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Income = new Field("Income","V_BounsplanMemtype","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","V_BounsplanMemtype","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DayNumber = new Field("DayNumber","V_BounsplanMemtype","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemTypeID = new Field("MemTypeID","V_BounsplanMemtype","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemType = new Field("MemType","V_BounsplanMemtype","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_CardExpense
    /// <summary>
	/// 实体类V_CardExpense 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_CardExpense : Entity 
	{
	 /// <summary>
	/// 实体类V_CardExpense 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_CardExpense():base("V_CardExpense") {}

		#region Model

		
		private string _Value;//;
		
		private decimal? _Amount;//;
		
		private DateTime? _CreateDate;//;
		
		private string _MemCardNo;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Amount
		{
			get{ 
				return _Amount;
			 }
			set
			{
				this.OnPropertyValueChange(_.Amount,_Amount,value);
				this._Amount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemCardNo
		{
			get{ 
				return _MemCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardNo,_MemCardNo,value);
				this._MemCardNo=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Value;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Value};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Value,

			
			_.Amount,

			
			_.CreateDate,

			
			_.MemCardNo

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Value,

			
			this._Amount,

			
			this._CreateDate,

			
			this._MemCardNo

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
						this._Amount = DataUtils.ConvertValue<decimal?>(reader["Amount"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._MemCardNo = DataUtils.ConvertValue<string>(reader["MemCardNo"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					this._Amount = DataUtils.ConvertValue<decimal?>(row["Amount"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._MemCardNo = DataUtils.ConvertValue<string>(row["MemCardNo"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_CardExpense");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","V_CardExpense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Amount = new Field("Amount","V_CardExpense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_CardExpense","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardNo = new Field("MemCardNo","V_CardExpense","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_CardhistoryMemberinfo
    /// <summary>
	/// 实体类V_CardhistoryMemberinfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_CardhistoryMemberinfo : Entity 
	{
	 /// <summary>
	/// 实体类V_CardhistoryMemberinfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_CardhistoryMemberinfo():base("V_CardhistoryMemberinfo") {}

		#region Model

		
		private string _Name;//;
		
		private DateTime? _CreateDate;//;
		
		private string _MemCardNo;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemCardNo
		{
			get{ 
				return _MemCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardNo,_MemCardNo,value);
				this._MemCardNo=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Name;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Name};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Name,

			
			_.CreateDate,

			
			_.MemCardNo

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Name,

			
			this._CreateDate,

			
			this._MemCardNo

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._MemCardNo = DataUtils.ConvertValue<string>(reader["MemCardNo"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._MemCardNo = DataUtils.ConvertValue<string>(row["MemCardNo"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_CardhistoryMemberinfo");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","V_CardhistoryMemberinfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_CardhistoryMemberinfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardNo = new Field("MemCardNo","V_CardhistoryMemberinfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_CardRevenue
    /// <summary>
	/// 实体类V_CardRevenue 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_CardRevenue : Entity 
	{
	 /// <summary>
	/// 实体类V_CardRevenue 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_CardRevenue():base("V_CardRevenue") {}

		#region Model

		
		private int _CardRevenueID;//;
		
		private decimal? _InitialAmount;//;
		
		private decimal? _WorkAmount;//;
		
		private decimal? _BonusAmount;//;
		
		private decimal? _PlusAmount;//;
		
		private int? _PlusDays;//;
		
		private int? _PlusTimes;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _MemcardID;//;
		
		private int? _CreateUserID;//;
		
		private string _MemcardNo;//;
		
		private string _CreateUserName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int CardRevenueID
		{
			get{ 
				return _CardRevenueID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CardRevenueID,_CardRevenueID,value);
				this._CardRevenueID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? InitialAmount
		{
			get{ 
				return _InitialAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.InitialAmount,_InitialAmount,value);
				this._InitialAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? WorkAmount
		{
			get{ 
				return _WorkAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.WorkAmount,_WorkAmount,value);
				this._WorkAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? BonusAmount
		{
			get{ 
				return _BonusAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.BonusAmount,_BonusAmount,value);
				this._BonusAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PlusAmount
		{
			get{ 
				return _PlusAmount;
			 }
			set
			{
				this.OnPropertyValueChange(_.PlusAmount,_PlusAmount,value);
				this._PlusAmount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? PlusDays
		{
			get{ 
				return _PlusDays;
			 }
			set
			{
				this.OnPropertyValueChange(_.PlusDays,_PlusDays,value);
				this._PlusDays=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? PlusTimes
		{
			get{ 
				return _PlusTimes;
			 }
			set
			{
				this.OnPropertyValueChange(_.PlusTimes,_PlusTimes,value);
				this._PlusTimes=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemcardID
		{
			get{ 
				return _MemcardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemcardID,_MemcardID,value);
				this._MemcardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemcardNo
		{
			get{ 
				return _MemcardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemcardNo,_MemcardNo,value);
				this._MemcardNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CreateUserName
		{
			get{ 
				return _CreateUserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserName,_CreateUserName,value);
				this._CreateUserName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.CardRevenueID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.CardRevenueID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.CardRevenueID,

			
			_.InitialAmount,

			
			_.WorkAmount,

			
			_.BonusAmount,

			
			_.PlusAmount,

			
			_.PlusDays,

			
			_.PlusTimes,

			
			_.CreateDate,

			
			_.MemcardID,

			
			_.CreateUserID,

			
			_.MemcardNo,

			
			_.CreateUserName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._CardRevenueID,

			
			this._InitialAmount,

			
			this._WorkAmount,

			
			this._BonusAmount,

			
			this._PlusAmount,

			
			this._PlusDays,

			
			this._PlusTimes,

			
			this._CreateDate,

			
			this._MemcardID,

			
			this._CreateUserID,

			
			this._MemcardNo,

			
			this._CreateUserName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._CardRevenueID = DataUtils.ConvertValue<int>(reader["CardRevenueID"]);
						this._InitialAmount = DataUtils.ConvertValue<decimal?>(reader["InitialAmount"]);
						this._WorkAmount = DataUtils.ConvertValue<decimal?>(reader["WorkAmount"]);
						this._BonusAmount = DataUtils.ConvertValue<decimal?>(reader["BonusAmount"]);
						this._PlusAmount = DataUtils.ConvertValue<decimal?>(reader["PlusAmount"]);
						this._PlusDays = DataUtils.ConvertValue<int?>(reader["PlusDays"]);
						this._PlusTimes = DataUtils.ConvertValue<int?>(reader["PlusTimes"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._MemcardID = DataUtils.ConvertValue<int?>(reader["MemcardID"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._MemcardNo = DataUtils.ConvertValue<string>(reader["MemcardNo"]);
						this._CreateUserName = DataUtils.ConvertValue<string>(reader["CreateUserName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._CardRevenueID = DataUtils.ConvertValue<int>(row["CardRevenueID"]);
					this._InitialAmount = DataUtils.ConvertValue<decimal?>(row["InitialAmount"]);
					this._WorkAmount = DataUtils.ConvertValue<decimal?>(row["WorkAmount"]);
					this._BonusAmount = DataUtils.ConvertValue<decimal?>(row["BonusAmount"]);
					this._PlusAmount = DataUtils.ConvertValue<decimal?>(row["PlusAmount"]);
					this._PlusDays = DataUtils.ConvertValue<int?>(row["PlusDays"]);
					this._PlusTimes = DataUtils.ConvertValue<int?>(row["PlusTimes"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._MemcardID = DataUtils.ConvertValue<int?>(row["MemcardID"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._MemcardNo = DataUtils.ConvertValue<string>(row["MemcardNo"]);
					this._CreateUserName = DataUtils.ConvertValue<string>(row["CreateUserName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_CardRevenue");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field CardRevenueID = new Field("CardRevenueID","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field InitialAmount = new Field("InitialAmount","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field WorkAmount = new Field("WorkAmount","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BonusAmount = new Field("BonusAmount","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PlusAmount = new Field("PlusAmount","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PlusDays = new Field("PlusDays","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PlusTimes = new Field("PlusTimes","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemcardID = new Field("MemcardID","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemcardNo = new Field("MemcardNo","V_CardRevenue","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserName = new Field("CreateUserName","V_CardRevenue","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_CompanyARU
    /// <summary>
	/// 实体类V_CompanyARU 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_CompanyARU : Entity 
	{
	 /// <summary>
	/// 实体类V_CompanyARU 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_CompanyARU():base("V_CompanyARU") {}

		#region Model

		
		private string _AreaName;//;
		
		private int _CompanyID;//;
		
		private int? _RoomID;//;
		
		private string _RoomName;//;
		
		private string _UserName;//;
		
		private string _CompanyName;//;
		
		private string _ContactPerson;//;
		
		private string _Phone;//;
		
		private string _Email;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private int? _AreaID;//;
		
		private string _Fax;//;
		
		private string _Business;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string AreaName
		{
			get{ 
				return _AreaName;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaName,_AreaName,value);
				this._AreaName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoomID
		{
			get{ 
				return _RoomID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomID,_RoomID,value);
				this._RoomID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoomName
		{
			get{ 
				return _RoomName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomName,_RoomName,value);
				this._RoomName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CompanyName
		{
			get{ 
				return _CompanyName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyName,_CompanyName,value);
				this._CompanyName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ContactPerson
		{
			get{ 
				return _ContactPerson;
			 }
			set
			{
				this.OnPropertyValueChange(_.ContactPerson,_ContactPerson,value);
				this._ContactPerson=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Email
		{
			get{ 
				return _Email;
			 }
			set
			{
				this.OnPropertyValueChange(_.Email,_Email,value);
				this._Email=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AreaID
		{
			get{ 
				return _AreaID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaID,_AreaID,value);
				this._AreaID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Fax
		{
			get{ 
				return _Fax;
			 }
			set
			{
				this.OnPropertyValueChange(_.Fax,_Fax,value);
				this._Fax=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Business
		{
			get{ 
				return _Business;
			 }
			set
			{
				this.OnPropertyValueChange(_.Business,_Business,value);
				this._Business=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.AreaName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.AreaName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.AreaName,

			
			_.CompanyID,

			
			_.RoomID,

			
			_.RoomName,

			
			_.UserName,

			
			_.CompanyName,

			
			_.ContactPerson,

			
			_.Phone,

			
			_.Email,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.AreaID,

			
			_.Fax,

			
			_.Business

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._AreaName,

			
			this._CompanyID,

			
			this._RoomID,

			
			this._RoomName,

			
			this._UserName,

			
			this._CompanyName,

			
			this._ContactPerson,

			
			this._Phone,

			
			this._Email,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._AreaID,

			
			this._Fax,

			
			this._Business

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._AreaName = DataUtils.ConvertValue<string>(reader["AreaName"]);
						this._CompanyID = DataUtils.ConvertValue<int>(reader["CompanyID"]);
						this._RoomID = DataUtils.ConvertValue<int?>(reader["RoomID"]);
						this._RoomName = DataUtils.ConvertValue<string>(reader["RoomName"]);
						this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
						this._CompanyName = DataUtils.ConvertValue<string>(reader["CompanyName"]);
						this._ContactPerson = DataUtils.ConvertValue<string>(reader["ContactPerson"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._Email = DataUtils.ConvertValue<string>(reader["Email"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._AreaID = DataUtils.ConvertValue<int?>(reader["AreaID"]);
						this._Fax = DataUtils.ConvertValue<string>(reader["Fax"]);
						this._Business = DataUtils.ConvertValue<string>(reader["Business"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._AreaName = DataUtils.ConvertValue<string>(row["AreaName"]);
					this._CompanyID = DataUtils.ConvertValue<int>(row["CompanyID"]);
					this._RoomID = DataUtils.ConvertValue<int?>(row["RoomID"]);
					this._RoomName = DataUtils.ConvertValue<string>(row["RoomName"]);
					this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					this._CompanyName = DataUtils.ConvertValue<string>(row["CompanyName"]);
					this._ContactPerson = DataUtils.ConvertValue<string>(row["ContactPerson"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._Email = DataUtils.ConvertValue<string>(row["Email"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._AreaID = DataUtils.ConvertValue<int?>(row["AreaID"]);
					this._Fax = DataUtils.ConvertValue<string>(row["Fax"]);
					this._Business = DataUtils.ConvertValue<string>(row["Business"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_CompanyARU");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaName = new Field("AreaName","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomID = new Field("RoomID","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomName = new Field("RoomName","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyName = new Field("CompanyName","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ContactPerson = new Field("ContactPerson","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Email = new Field("Email","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaID = new Field("AreaID","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Fax = new Field("Fax","V_CompanyARU","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Business = new Field("Business","V_CompanyARU","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_ContractCompany
    /// <summary>
	/// 实体类V_ContractCompany 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_ContractCompany : Entity 
	{
	 /// <summary>
	/// 实体类V_ContractCompany 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_ContractCompany():base("V_ContractCompany") {}

		#region Model

		
		private string _CompanyName;//;
		
		private int _ContractID;//;
		
		private string _ContractNo;//;
		
		private int? _StatusID;//;
		
		private string _Contractor;//;
		
		private string _Phone;//;
		
		private DateTime? _StartDate;//;
		
		private DateTime? _EndDate;//;
		
		private int? _CompanyID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string CompanyName
		{
			get{ 
				return _CompanyName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyName,_CompanyName,value);
				this._CompanyName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ContractID
		{
			get{ 
				return _ContractID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ContractID,_ContractID,value);
				this._ContractID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ContractNo
		{
			get{ 
				return _ContractNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.ContractNo,_ContractNo,value);
				this._ContractNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Contractor
		{
			get{ 
				return _Contractor;
			 }
			set
			{
				this.OnPropertyValueChange(_.Contractor,_Contractor,value);
				this._Contractor=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDate
		{
			get{ 
				return _StartDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartDate,_StartDate,value);
				this._StartDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EndDate
		{
			get{ 
				return _EndDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndDate,_EndDate,value);
				this._EndDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.CompanyName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.CompanyName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.CompanyName,

			
			_.ContractID,

			
			_.ContractNo,

			
			_.StatusID,

			
			_.Contractor,

			
			_.Phone,

			
			_.StartDate,

			
			_.EndDate,

			
			_.CompanyID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._CompanyName,

			
			this._ContractID,

			
			this._ContractNo,

			
			this._StatusID,

			
			this._Contractor,

			
			this._Phone,

			
			this._StartDate,

			
			this._EndDate,

			
			this._CompanyID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._CompanyName = DataUtils.ConvertValue<string>(reader["CompanyName"]);
						this._ContractID = DataUtils.ConvertValue<int>(reader["ContractID"]);
						this._ContractNo = DataUtils.ConvertValue<string>(reader["ContractNo"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._Contractor = DataUtils.ConvertValue<string>(reader["Contractor"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._StartDate = DataUtils.ConvertValue<DateTime?>(reader["StartDate"]);
						this._EndDate = DataUtils.ConvertValue<DateTime?>(reader["EndDate"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._CompanyName = DataUtils.ConvertValue<string>(row["CompanyName"]);
					this._ContractID = DataUtils.ConvertValue<int>(row["ContractID"]);
					this._ContractNo = DataUtils.ConvertValue<string>(row["ContractNo"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._Contractor = DataUtils.ConvertValue<string>(row["Contractor"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._StartDate = DataUtils.ConvertValue<DateTime?>(row["StartDate"]);
					this._EndDate = DataUtils.ConvertValue<DateTime?>(row["EndDate"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_ContractCompany");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyName = new Field("CompanyName","V_ContractCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ContractID = new Field("ContractID","V_ContractCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ContractNo = new Field("ContractNo","V_ContractCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_ContractCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Contractor = new Field("Contractor","V_ContractCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","V_ContractCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartDate = new Field("StartDate","V_ContractCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndDate = new Field("EndDate","V_ContractCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","V_ContractCompany","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_DepartUser
    /// <summary>
	/// 实体类V_DepartUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_DepartUser : Entity 
	{
	 /// <summary>
	/// 实体类V_DepartUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_DepartUser():base("V_DepartUser") {}

		#region Model

		
		private string _UserName;//;
		
		private int? _ChargeUserID;//;
		
		private int _DeptID;//;
		
		private string _DeptName;//;
		
		private string _Phone;//;
		
		private string _Email;//;
		
		private int? _DirID;//;
		
		private string _UpJob;//;
		
		private int? _TreeLever;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ChargeUserID
		{
			get{ 
				return _ChargeUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ChargeUserID,_ChargeUserID,value);
				this._ChargeUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int DeptID
		{
			get{ 
				return _DeptID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptID,_DeptID,value);
				this._DeptID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DeptName
		{
			get{ 
				return _DeptName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptName,_DeptName,value);
				this._DeptName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Email
		{
			get{ 
				return _Email;
			 }
			set
			{
				this.OnPropertyValueChange(_.Email,_Email,value);
				this._Email=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DirID
		{
			get{ 
				return _DirID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DirID,_DirID,value);
				this._DirID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UpJob
		{
			get{ 
				return _UpJob;
			 }
			set
			{
				this.OnPropertyValueChange(_.UpJob,_UpJob,value);
				this._UpJob=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? TreeLever
		{
			get{ 
				return _TreeLever;
			 }
			set
			{
				this.OnPropertyValueChange(_.TreeLever,_TreeLever,value);
				this._TreeLever=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.UserName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.UserName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.UserName,

			
			_.ChargeUserID,

			
			_.DeptID,

			
			_.DeptName,

			
			_.Phone,

			
			_.Email,

			
			_.DirID,

			
			_.UpJob,

			
			_.TreeLever

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._UserName,

			
			this._ChargeUserID,

			
			this._DeptID,

			
			this._DeptName,

			
			this._Phone,

			
			this._Email,

			
			this._DirID,

			
			this._UpJob,

			
			this._TreeLever

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
						this._ChargeUserID = DataUtils.ConvertValue<int?>(reader["ChargeUserID"]);
						this._DeptID = DataUtils.ConvertValue<int>(reader["DeptID"]);
						this._DeptName = DataUtils.ConvertValue<string>(reader["DeptName"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._Email = DataUtils.ConvertValue<string>(reader["Email"]);
						this._DirID = DataUtils.ConvertValue<int?>(reader["DirID"]);
						this._UpJob = DataUtils.ConvertValue<string>(reader["UpJob"]);
						this._TreeLever = DataUtils.ConvertValue<int?>(reader["TreeLever"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					this._ChargeUserID = DataUtils.ConvertValue<int?>(row["ChargeUserID"]);
					this._DeptID = DataUtils.ConvertValue<int>(row["DeptID"]);
					this._DeptName = DataUtils.ConvertValue<string>(row["DeptName"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._Email = DataUtils.ConvertValue<string>(row["Email"]);
					this._DirID = DataUtils.ConvertValue<int?>(row["DirID"]);
					this._UpJob = DataUtils.ConvertValue<string>(row["UpJob"]);
					this._TreeLever = DataUtils.ConvertValue<int?>(row["TreeLever"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_DepartUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_DepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ChargeUserID = new Field("ChargeUserID","V_DepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptID = new Field("DeptID","V_DepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptName = new Field("DeptName","V_DepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","V_DepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Email = new Field("Email","V_DepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DirID = new Field("DirID","V_DepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UpJob = new Field("UpJob","V_DepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TreeLever = new Field("TreeLever","V_DepartUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_DoorUser
    /// <summary>
	/// 实体类V_DoorUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_DoorUser : Entity 
	{
	 /// <summary>
	/// 实体类V_DoorUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_DoorUser():base("V_DoorUser") {}

		#region Model

		
		private int _DoorID;//;
		
		private string _DoorName;//;
		
		private string _IPAddr;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _CreateUserName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int DoorID
		{
			get{ 
				return _DoorID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DoorID,_DoorID,value);
				this._DoorID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DoorName
		{
			get{ 
				return _DoorName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DoorName,_DoorName,value);
				this._DoorName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IPAddr
		{
			get{ 
				return _IPAddr;
			 }
			set
			{
				this.OnPropertyValueChange(_.IPAddr,_IPAddr,value);
				this._IPAddr=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CreateUserName
		{
			get{ 
				return _CreateUserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserName,_CreateUserName,value);
				this._CreateUserName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.DoorID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.DoorID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.DoorID,

			
			_.DoorName,

			
			_.IPAddr,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.CreateUserName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._DoorID,

			
			this._DoorName,

			
			this._IPAddr,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._CreateUserName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._DoorID = DataUtils.ConvertValue<int>(reader["DoorID"]);
						this._DoorName = DataUtils.ConvertValue<string>(reader["DoorName"]);
						this._IPAddr = DataUtils.ConvertValue<string>(reader["IPAddr"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._CreateUserName = DataUtils.ConvertValue<string>(reader["CreateUserName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._DoorID = DataUtils.ConvertValue<int>(row["DoorID"]);
					this._DoorName = DataUtils.ConvertValue<string>(row["DoorName"]);
					this._IPAddr = DataUtils.ConvertValue<string>(row["IPAddr"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._CreateUserName = DataUtils.ConvertValue<string>(row["CreateUserName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_DoorUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field DoorID = new Field("DoorID","V_DoorUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DoorName = new Field("DoorName","V_DoorUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IPAddr = new Field("IPAddr","V_DoorUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_DoorUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_DoorUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserName = new Field("CreateUserName","V_DoorUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_drpCompany
    /// <summary>
	/// 实体类V_drpCompany 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_drpCompany : Entity 
	{
	 /// <summary>
	/// 实体类V_drpCompany 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_drpCompany():base("V_drpCompany") {}

		#region Model

		
		private int _ID;//;
		
		private string _Value;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ 
				return _ID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Value
		{
			get{ 
				return _Value;
			 }
			set
			{
				this.OnPropertyValueChange(_.Value,_Value,value);
				this._Value=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Value

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Value

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Value = DataUtils.ConvertValue<string>(reader["Value"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Value = DataUtils.ConvertValue<string>(row["Value"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_drpCompany");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","V_drpCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Value = new Field("Value","V_drpCompany","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_EGAuditUser
    /// <summary>
	/// 实体类V_EGAuditUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_EGAuditUser : Entity 
	{
	 /// <summary>
	/// 实体类V_EGAuditUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_EGAuditUser():base("V_EGAuditUser") {}

		#region Model

		
		private string _UserName;//;
		
		private string _Action;//;
		
		private int _LogID;//;
		
		private string _ActionOwner;//;
		
		private DateTime? _EnterDate;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _EGCardNoDoor;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Action
		{
			get{ 
				return _Action;
			 }
			set
			{
				this.OnPropertyValueChange(_.Action,_Action,value);
				this._Action=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int LogID
		{
			get{ 
				return _LogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.LogID,_LogID,value);
				this._LogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ActionOwner
		{
			get{ 
				return _ActionOwner;
			 }
			set
			{
				this.OnPropertyValueChange(_.ActionOwner,_ActionOwner,value);
				this._ActionOwner=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EnterDate
		{
			get{ 
				return _EnterDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.EnterDate,_EnterDate,value);
				this._EnterDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EGCardNoDoor
		{
			get{ 
				return _EGCardNoDoor;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGCardNoDoor,_EGCardNoDoor,value);
				this._EGCardNoDoor=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.UserName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.UserName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.UserName,

			
			_.Action,

			
			_.LogID,

			
			_.ActionOwner,

			
			_.EnterDate,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.EGCardNoDoor

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._UserName,

			
			this._Action,

			
			this._LogID,

			
			this._ActionOwner,

			
			this._EnterDate,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._EGCardNoDoor

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
						this._Action = DataUtils.ConvertValue<string>(reader["Action"]);
						this._LogID = DataUtils.ConvertValue<int>(reader["LogID"]);
						this._ActionOwner = DataUtils.ConvertValue<string>(reader["ActionOwner"]);
						this._EnterDate = DataUtils.ConvertValue<DateTime?>(reader["EnterDate"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._EGCardNoDoor = DataUtils.ConvertValue<string>(reader["EGCardNoDoor"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					this._Action = DataUtils.ConvertValue<string>(row["Action"]);
					this._LogID = DataUtils.ConvertValue<int>(row["LogID"]);
					this._ActionOwner = DataUtils.ConvertValue<string>(row["ActionOwner"]);
					this._EnterDate = DataUtils.ConvertValue<DateTime?>(row["EnterDate"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._EGCardNoDoor = DataUtils.ConvertValue<string>(row["EGCardNoDoor"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_EGAuditUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_EGAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Action = new Field("Action","V_EGAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LogID = new Field("LogID","V_EGAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ActionOwner = new Field("ActionOwner","V_EGAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EnterDate = new Field("EnterDate","V_EGAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_EGAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_EGAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGCardNoDoor = new Field("EGCardNoDoor","V_EGAuditUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_EGControlerUser
    /// <summary>
	/// 实体类V_EGControlerUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_EGControlerUser : Entity 
	{
	 /// <summary>
	/// 实体类V_EGControlerUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_EGControlerUser():base("V_EGControlerUser") {}

		#region Model

		
		private int _EGControlerID;//;
		
		private string _SN;//;
		
		private string _IP;//;
		
		private int? _StatusID;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _CreateUserID;//;
		
		private string _Name;//;
		
		private string _Description;//;
		
		private string _UserName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int EGControlerID
		{
			get{ 
				return _EGControlerID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGControlerID,_EGControlerID,value);
				this._EGControlerID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string SN
		{
			get{ 
				return _SN;
			 }
			set
			{
				this.OnPropertyValueChange(_.SN,_SN,value);
				this._SN=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IP
		{
			get{ 
				return _IP;
			 }
			set
			{
				this.OnPropertyValueChange(_.IP,_IP,value);
				this._IP=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.EGControlerID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.EGControlerID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.EGControlerID,

			
			_.SN,

			
			_.IP,

			
			_.StatusID,

			
			_.CreateDate,

			
			_.CreateUserID,

			
			_.Name,

			
			_.Description,

			
			_.UserName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._EGControlerID,

			
			this._SN,

			
			this._IP,

			
			this._StatusID,

			
			this._CreateDate,

			
			this._CreateUserID,

			
			this._Name,

			
			this._Description,

			
			this._UserName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._EGControlerID = DataUtils.ConvertValue<int>(reader["EGControlerID"]);
						this._SN = DataUtils.ConvertValue<string>(reader["SN"]);
						this._IP = DataUtils.ConvertValue<string>(reader["IP"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._EGControlerID = DataUtils.ConvertValue<int>(row["EGControlerID"]);
					this._SN = DataUtils.ConvertValue<string>(row["SN"]);
					this._IP = DataUtils.ConvertValue<string>(row["IP"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_EGControlerUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGControlerID = new Field("EGControlerID","V_EGControlerUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SN = new Field("SN","V_EGControlerUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IP = new Field("IP","V_EGControlerUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_EGControlerUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_EGControlerUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_EGControlerUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","V_EGControlerUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","V_EGControlerUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_EGControlerUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_EGUserDepartUser
    /// <summary>
	/// 实体类V_EGUserDepartUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_EGUserDepartUser : Entity 
	{
	 /// <summary>
	/// 实体类V_EGUserDepartUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_EGUserDepartUser():base("V_EGUserDepartUser") {}

		#region Model

		
		private string _DeptName;//;
		
		private int _EGUserID;//;
		
		private string _EGCardNo;//;
		
		private string _Name;//;
		
		private DateTime? _CreateDate;//;
		
		private string _UserName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string DeptName
		{
			get{ 
				return _DeptName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptName,_DeptName,value);
				this._DeptName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int EGUserID
		{
			get{ 
				return _EGUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGUserID,_EGUserID,value);
				this._EGUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EGCardNo
		{
			get{ 
				return _EGCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.EGCardNo,_EGCardNo,value);
				this._EGCardNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.DeptName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.DeptName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.DeptName,

			
			_.EGUserID,

			
			_.EGCardNo,

			
			_.Name,

			
			_.CreateDate,

			
			_.UserName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._DeptName,

			
			this._EGUserID,

			
			this._EGCardNo,

			
			this._Name,

			
			this._CreateDate,

			
			this._UserName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._DeptName = DataUtils.ConvertValue<string>(reader["DeptName"]);
						this._EGUserID = DataUtils.ConvertValue<int>(reader["EGUserID"]);
						this._EGCardNo = DataUtils.ConvertValue<string>(reader["EGCardNo"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._DeptName = DataUtils.ConvertValue<string>(row["DeptName"]);
					this._EGUserID = DataUtils.ConvertValue<int>(row["EGUserID"]);
					this._EGCardNo = DataUtils.ConvertValue<string>(row["EGCardNo"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_EGUserDepartUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptName = new Field("DeptName","V_EGUserDepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGUserID = new Field("EGUserID","V_EGUserDepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EGCardNo = new Field("EGCardNo","V_EGUserDepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","V_EGUserDepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_EGUserDepartUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_EGUserDepartUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_LEDMessgeRegion
    /// <summary>
	/// 实体类V_LEDMessgeRegion 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_LEDMessgeRegion : Entity 
	{
	 /// <summary>
	/// 实体类V_LEDMessgeRegion 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_LEDMessgeRegion():base("V_LEDMessgeRegion") {}

		#region Model

		
		private int _MessageID;//;
		
		private string _GoodName;//;
		
		private decimal? _Amount;//;
		
		private string _UnitType;//;
		
		private decimal? _TransPrice;//;
		
		private decimal? _CarInfo;//;
		
		private int? _RoomID;//;
		
		private DateTime? _CreateDate;//;
		
		private bool? _IsSend;//;
		
		private bool? _IsBackAble;//;
		
		private int? _StartPlaceID;//;
		
		private int? _EndPlaceID;//;
		
		private bool? _IsCutover;//;
		
		private string _CutoverDriverIDNumber;//;
		
		private string _CutoverCompanyIDNumber;//;
		
		private DateTime? _CutoverDate;//;
		
		private string _StartRegionName;//;
		
		private string _StartParentRegionName;//;
		
		private string _StartTopRegionName;//;
		
		private string _EndRegionName;//;
		
		private string _EndParentRegionName;//;
		
		private string _EndTopRegionName;//;
		
		private string _RoomName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MessageID
		{
			get{ 
				return _MessageID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MessageID,_MessageID,value);
				this._MessageID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string GoodName
		{
			get{ 
				return _GoodName;
			 }
			set
			{
				this.OnPropertyValueChange(_.GoodName,_GoodName,value);
				this._GoodName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Amount
		{
			get{ 
				return _Amount;
			 }
			set
			{
				this.OnPropertyValueChange(_.Amount,_Amount,value);
				this._Amount=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UnitType
		{
			get{ 
				return _UnitType;
			 }
			set
			{
				this.OnPropertyValueChange(_.UnitType,_UnitType,value);
				this._UnitType=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? TransPrice
		{
			get{ 
				return _TransPrice;
			 }
			set
			{
				this.OnPropertyValueChange(_.TransPrice,_TransPrice,value);
				this._TransPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? CarInfo
		{
			get{ 
				return _CarInfo;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarInfo,_CarInfo,value);
				this._CarInfo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoomID
		{
			get{ 
				return _RoomID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomID,_RoomID,value);
				this._RoomID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsSend
		{
			get{ 
				return _IsSend;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsSend,_IsSend,value);
				this._IsSend=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsBackAble
		{
			get{ 
				return _IsBackAble;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsBackAble,_IsBackAble,value);
				this._IsBackAble=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StartPlaceID
		{
			get{ 
				return _StartPlaceID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartPlaceID,_StartPlaceID,value);
				this._StartPlaceID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? EndPlaceID
		{
			get{ 
				return _EndPlaceID;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndPlaceID,_EndPlaceID,value);
				this._EndPlaceID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsCutover
		{
			get{ 
				return _IsCutover;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsCutover,_IsCutover,value);
				this._IsCutover=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CutoverDriverIDNumber
		{
			get{ 
				return _CutoverDriverIDNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.CutoverDriverIDNumber,_CutoverDriverIDNumber,value);
				this._CutoverDriverIDNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CutoverCompanyIDNumber
		{
			get{ 
				return _CutoverCompanyIDNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.CutoverCompanyIDNumber,_CutoverCompanyIDNumber,value);
				this._CutoverCompanyIDNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CutoverDate
		{
			get{ 
				return _CutoverDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CutoverDate,_CutoverDate,value);
				this._CutoverDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string StartRegionName
		{
			get{ 
				return _StartRegionName;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartRegionName,_StartRegionName,value);
				this._StartRegionName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string StartParentRegionName
		{
			get{ 
				return _StartParentRegionName;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartParentRegionName,_StartParentRegionName,value);
				this._StartParentRegionName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string StartTopRegionName
		{
			get{ 
				return _StartTopRegionName;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartTopRegionName,_StartTopRegionName,value);
				this._StartTopRegionName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EndRegionName
		{
			get{ 
				return _EndRegionName;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndRegionName,_EndRegionName,value);
				this._EndRegionName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EndParentRegionName
		{
			get{ 
				return _EndParentRegionName;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndParentRegionName,_EndParentRegionName,value);
				this._EndParentRegionName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EndTopRegionName
		{
			get{ 
				return _EndTopRegionName;
			 }
			set
			{
				this.OnPropertyValueChange(_.EndTopRegionName,_EndTopRegionName,value);
				this._EndTopRegionName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoomName
		{
			get{ 
				return _RoomName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomName,_RoomName,value);
				this._RoomName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MessageID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MessageID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MessageID,

			
			_.GoodName,

			
			_.Amount,

			
			_.UnitType,

			
			_.TransPrice,

			
			_.CarInfo,

			
			_.RoomID,

			
			_.CreateDate,

			
			_.IsSend,

			
			_.IsBackAble,

			
			_.StartPlaceID,

			
			_.EndPlaceID,

			
			_.IsCutover,

			
			_.CutoverDriverIDNumber,

			
			_.CutoverCompanyIDNumber,

			
			_.CutoverDate,

			
			_.StartRegionName,

			
			_.StartParentRegionName,

			
			_.StartTopRegionName,

			
			_.EndRegionName,

			
			_.EndParentRegionName,

			
			_.EndTopRegionName,

			
			_.RoomName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MessageID,

			
			this._GoodName,

			
			this._Amount,

			
			this._UnitType,

			
			this._TransPrice,

			
			this._CarInfo,

			
			this._RoomID,

			
			this._CreateDate,

			
			this._IsSend,

			
			this._IsBackAble,

			
			this._StartPlaceID,

			
			this._EndPlaceID,

			
			this._IsCutover,

			
			this._CutoverDriverIDNumber,

			
			this._CutoverCompanyIDNumber,

			
			this._CutoverDate,

			
			this._StartRegionName,

			
			this._StartParentRegionName,

			
			this._StartTopRegionName,

			
			this._EndRegionName,

			
			this._EndParentRegionName,

			
			this._EndTopRegionName,

			
			this._RoomName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MessageID = DataUtils.ConvertValue<int>(reader["MessageID"]);
						this._GoodName = DataUtils.ConvertValue<string>(reader["GoodName"]);
						this._Amount = DataUtils.ConvertValue<decimal?>(reader["Amount"]);
						this._UnitType = DataUtils.ConvertValue<string>(reader["UnitType"]);
						this._TransPrice = DataUtils.ConvertValue<decimal?>(reader["TransPrice"]);
						this._CarInfo = DataUtils.ConvertValue<decimal?>(reader["CarInfo"]);
						this._RoomID = DataUtils.ConvertValue<int?>(reader["RoomID"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._IsSend = DataUtils.ConvertValue<bool?>(reader["IsSend"]);
						this._IsBackAble = DataUtils.ConvertValue<bool?>(reader["IsBackAble"]);
						this._StartPlaceID = DataUtils.ConvertValue<int?>(reader["StartPlaceID"]);
						this._EndPlaceID = DataUtils.ConvertValue<int?>(reader["EndPlaceID"]);
						this._IsCutover = DataUtils.ConvertValue<bool?>(reader["IsCutover"]);
						this._CutoverDriverIDNumber = DataUtils.ConvertValue<string>(reader["CutoverDriverIDNumber"]);
						this._CutoverCompanyIDNumber = DataUtils.ConvertValue<string>(reader["CutoverCompanyIDNumber"]);
						this._CutoverDate = DataUtils.ConvertValue<DateTime?>(reader["CutoverDate"]);
						this._StartRegionName = DataUtils.ConvertValue<string>(reader["StartRegionName"]);
						this._StartParentRegionName = DataUtils.ConvertValue<string>(reader["StartParentRegionName"]);
						this._StartTopRegionName = DataUtils.ConvertValue<string>(reader["StartTopRegionName"]);
						this._EndRegionName = DataUtils.ConvertValue<string>(reader["EndRegionName"]);
						this._EndParentRegionName = DataUtils.ConvertValue<string>(reader["EndParentRegionName"]);
						this._EndTopRegionName = DataUtils.ConvertValue<string>(reader["EndTopRegionName"]);
						this._RoomName = DataUtils.ConvertValue<string>(reader["RoomName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MessageID = DataUtils.ConvertValue<int>(row["MessageID"]);
					this._GoodName = DataUtils.ConvertValue<string>(row["GoodName"]);
					this._Amount = DataUtils.ConvertValue<decimal?>(row["Amount"]);
					this._UnitType = DataUtils.ConvertValue<string>(row["UnitType"]);
					this._TransPrice = DataUtils.ConvertValue<decimal?>(row["TransPrice"]);
					this._CarInfo = DataUtils.ConvertValue<decimal?>(row["CarInfo"]);
					this._RoomID = DataUtils.ConvertValue<int?>(row["RoomID"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._IsSend = DataUtils.ConvertValue<bool?>(row["IsSend"]);
					this._IsBackAble = DataUtils.ConvertValue<bool?>(row["IsBackAble"]);
					this._StartPlaceID = DataUtils.ConvertValue<int?>(row["StartPlaceID"]);
					this._EndPlaceID = DataUtils.ConvertValue<int?>(row["EndPlaceID"]);
					this._IsCutover = DataUtils.ConvertValue<bool?>(row["IsCutover"]);
					this._CutoverDriverIDNumber = DataUtils.ConvertValue<string>(row["CutoverDriverIDNumber"]);
					this._CutoverCompanyIDNumber = DataUtils.ConvertValue<string>(row["CutoverCompanyIDNumber"]);
					this._CutoverDate = DataUtils.ConvertValue<DateTime?>(row["CutoverDate"]);
					this._StartRegionName = DataUtils.ConvertValue<string>(row["StartRegionName"]);
					this._StartParentRegionName = DataUtils.ConvertValue<string>(row["StartParentRegionName"]);
					this._StartTopRegionName = DataUtils.ConvertValue<string>(row["StartTopRegionName"]);
					this._EndRegionName = DataUtils.ConvertValue<string>(row["EndRegionName"]);
					this._EndParentRegionName = DataUtils.ConvertValue<string>(row["EndParentRegionName"]);
					this._EndTopRegionName = DataUtils.ConvertValue<string>(row["EndTopRegionName"]);
					this._RoomName = DataUtils.ConvertValue<string>(row["RoomName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_LEDMessgeRegion");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MessageID = new Field("MessageID","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field GoodName = new Field("GoodName","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Amount = new Field("Amount","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UnitType = new Field("UnitType","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TransPrice = new Field("TransPrice","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarInfo = new Field("CarInfo","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomID = new Field("RoomID","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsSend = new Field("IsSend","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsBackAble = new Field("IsBackAble","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartPlaceID = new Field("StartPlaceID","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndPlaceID = new Field("EndPlaceID","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsCutover = new Field("IsCutover","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CutoverDriverIDNumber = new Field("CutoverDriverIDNumber","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CutoverCompanyIDNumber = new Field("CutoverCompanyIDNumber","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CutoverDate = new Field("CutoverDate","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartRegionName = new Field("StartRegionName","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartParentRegionName = new Field("StartParentRegionName","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartTopRegionName = new Field("StartTopRegionName","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndRegionName = new Field("EndRegionName","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndParentRegionName = new Field("EndParentRegionName","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EndTopRegionName = new Field("EndTopRegionName","V_LEDMessgeRegion","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomName = new Field("RoomName","V_LEDMessgeRegion","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_LogAuditUser
    /// <summary>
	/// 实体类V_LogAuditUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_LogAuditUser : Entity 
	{
	 /// <summary>
	/// 实体类V_LogAuditUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_LogAuditUser():base("V_LogAuditUser") {}

		#region Model

		
		private int _LogID;//;
		
		private string _Action;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _LogType;//;
		
		private int? _CreateUserID;//;
		
		private string _UserName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int LogID
		{
			get{ 
				return _LogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.LogID,_LogID,value);
				this._LogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Action
		{
			get{ 
				return _Action;
			 }
			set
			{
				this.OnPropertyValueChange(_.Action,_Action,value);
				this._Action=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? LogType
		{
			get{ 
				return _LogType;
			 }
			set
			{
				this.OnPropertyValueChange(_.LogType,_LogType,value);
				this._LogType=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CreateUserID
		{
			get{ 
				return _CreateUserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateUserID,_CreateUserID,value);
				this._CreateUserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.LogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.LogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.LogID,

			
			_.Action,

			
			_.CreateDate,

			
			_.LogType,

			
			_.CreateUserID,

			
			_.UserName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._LogID,

			
			this._Action,

			
			this._CreateDate,

			
			this._LogType,

			
			this._CreateUserID,

			
			this._UserName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._LogID = DataUtils.ConvertValue<int>(reader["LogID"]);
						this._Action = DataUtils.ConvertValue<string>(reader["Action"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._LogType = DataUtils.ConvertValue<int?>(reader["LogType"]);
						this._CreateUserID = DataUtils.ConvertValue<int?>(reader["CreateUserID"]);
						this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._LogID = DataUtils.ConvertValue<int>(row["LogID"]);
					this._Action = DataUtils.ConvertValue<string>(row["Action"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._LogType = DataUtils.ConvertValue<int?>(row["LogType"]);
					this._CreateUserID = DataUtils.ConvertValue<int?>(row["CreateUserID"]);
					this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_LogAuditUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field LogID = new Field("LogID","V_LogAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Action = new Field("Action","V_LogAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_LogAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LogType = new Field("LogType","V_LogAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateUserID = new Field("CreateUserID","V_LogAuditUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_LogAuditUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_LoginUser
    /// <summary>
	/// 实体类V_LoginUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_LoginUser : Entity 
	{
	 /// <summary>
	/// 实体类V_LoginUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_LoginUser():base("V_LoginUser") {}

		#region Model

		
		private string _UserName;//;
		
		private int _UserID;//;
		
		private DateTime? _LoginTime;//;
		
		private string _RealName;//;
		
		private int? _RoleID;//;
		
		private int? _MemCardID;//;
		
		private string _MemCardNo;//;
		
		private int? _DeptID;//;
		
		private string _DeptName;//;
		
		private int? _CompanyID;//;
		
		private string _CompanyName;//;
		
		private int? _PositionID;//;
		
		private int? _RoomID;//;
		
		private string _UserPwd;//;
		
		private int? _StatusID;//;
		
		private int? _CompanyStatusID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int UserID
		{
			get{ 
				return _UserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserID,_UserID,value);
				this._UserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LoginTime
		{
			get{ 
				return _LoginTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.LoginTime,_LoginTime,value);
				this._LoginTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RealName
		{
			get{ 
				return _RealName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RealName,_RealName,value);
				this._RealName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoleID
		{
			get{ 
				return _RoleID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleID,_RoleID,value);
				this._RoleID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemCardNo
		{
			get{ 
				return _MemCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardNo,_MemCardNo,value);
				this._MemCardNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DeptID
		{
			get{ 
				return _DeptID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptID,_DeptID,value);
				this._DeptID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DeptName
		{
			get{ 
				return _DeptName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptName,_DeptName,value);
				this._DeptName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CompanyName
		{
			get{ 
				return _CompanyName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyName,_CompanyName,value);
				this._CompanyName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? PositionID
		{
			get{ 
				return _PositionID;
			 }
			set
			{
				this.OnPropertyValueChange(_.PositionID,_PositionID,value);
				this._PositionID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoomID
		{
			get{ 
				return _RoomID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomID,_RoomID,value);
				this._RoomID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserPwd
		{
			get{ 
				return _UserPwd;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserPwd,_UserPwd,value);
				this._UserPwd=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyStatusID
		{
			get{ 
				return _CompanyStatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyStatusID,_CompanyStatusID,value);
				this._CompanyStatusID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.UserName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.UserName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.UserName,

			
			_.UserID,

			
			_.LoginTime,

			
			_.RealName,

			
			_.RoleID,

			
			_.MemCardID,

			
			_.MemCardNo,

			
			_.DeptID,

			
			_.DeptName,

			
			_.CompanyID,

			
			_.CompanyName,

			
			_.PositionID,

			
			_.RoomID,

			
			_.UserPwd,

			
			_.StatusID,

			
			_.CompanyStatusID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._UserName,

			
			this._UserID,

			
			this._LoginTime,

			
			this._RealName,

			
			this._RoleID,

			
			this._MemCardID,

			
			this._MemCardNo,

			
			this._DeptID,

			
			this._DeptName,

			
			this._CompanyID,

			
			this._CompanyName,

			
			this._PositionID,

			
			this._RoomID,

			
			this._UserPwd,

			
			this._StatusID,

			
			this._CompanyStatusID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
						this._UserID = DataUtils.ConvertValue<int>(reader["UserID"]);
						this._LoginTime = DataUtils.ConvertValue<DateTime?>(reader["LoginTime"]);
						this._RealName = DataUtils.ConvertValue<string>(reader["RealName"]);
						this._RoleID = DataUtils.ConvertValue<int?>(reader["RoleID"]);
						this._MemCardID = DataUtils.ConvertValue<int?>(reader["MemCardID"]);
						this._MemCardNo = DataUtils.ConvertValue<string>(reader["MemCardNo"]);
						this._DeptID = DataUtils.ConvertValue<int?>(reader["DeptID"]);
						this._DeptName = DataUtils.ConvertValue<string>(reader["DeptName"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
						this._CompanyName = DataUtils.ConvertValue<string>(reader["CompanyName"]);
						this._PositionID = DataUtils.ConvertValue<int?>(reader["PositionID"]);
						this._RoomID = DataUtils.ConvertValue<int?>(reader["RoomID"]);
						this._UserPwd = DataUtils.ConvertValue<string>(reader["UserPwd"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CompanyStatusID = DataUtils.ConvertValue<int?>(reader["CompanyStatusID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					this._UserID = DataUtils.ConvertValue<int>(row["UserID"]);
					this._LoginTime = DataUtils.ConvertValue<DateTime?>(row["LoginTime"]);
					this._RealName = DataUtils.ConvertValue<string>(row["RealName"]);
					this._RoleID = DataUtils.ConvertValue<int?>(row["RoleID"]);
					this._MemCardID = DataUtils.ConvertValue<int?>(row["MemCardID"]);
					this._MemCardNo = DataUtils.ConvertValue<string>(row["MemCardNo"]);
					this._DeptID = DataUtils.ConvertValue<int?>(row["DeptID"]);
					this._DeptName = DataUtils.ConvertValue<string>(row["DeptName"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					this._CompanyName = DataUtils.ConvertValue<string>(row["CompanyName"]);
					this._PositionID = DataUtils.ConvertValue<int?>(row["PositionID"]);
					this._RoomID = DataUtils.ConvertValue<int?>(row["RoomID"]);
					this._UserPwd = DataUtils.ConvertValue<string>(row["UserPwd"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CompanyStatusID = DataUtils.ConvertValue<int?>(row["CompanyStatusID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_LoginUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserID = new Field("UserID","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LoginTime = new Field("LoginTime","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RealName = new Field("RealName","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleID = new Field("RoleID","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardNo = new Field("MemCardNo","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptID = new Field("DeptID","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptName = new Field("DeptName","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyName = new Field("CompanyName","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PositionID = new Field("PositionID","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomID = new Field("RoomID","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserPwd = new Field("UserPwd","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_LoginUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyStatusID = new Field("CompanyStatusID","V_LoginUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_MemCardInfoType
    /// <summary>
	/// 实体类V_MemCardInfoType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_MemCardInfoType : Entity 
	{
	 /// <summary>
	/// 实体类V_MemCardInfoType 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_MemCardInfoType():base("V_MemCardInfoType") {}

		#region Model

		
		private int _MemCardID;//;
		
		private string _MemCardNo;//;
		
		private int? _StatusID;//;
		
		private int? _CompanyID;//;
		
		private int? _MemTypeID;//;
		
		private DateTime? _StartDate;//;
		
		private DateTime? _ExpireDate;//;
		
		private decimal? _LeftCash;//;
		
		private int? _LeftTimes;//;
		
		private int? _MemberID;//;
		
		private int? _Expr1;//;
		
		private string _RegistID;//;
		
		private string _Name;//;
		
		private bool? _Sex;//;
		
		private DateTime? _Birthday;//;
		
		private string _IDNumber;//;
		
		private string _IDAddress;//;
		
		private string _Cell;//;
		
		private string _Phone;//;
		
		private string _DLName;//;
		
		private bool? _DLSex;//;
		
		private string _DLNumber;//;
		
		private string _DLAddress;//;
		
		private string _CarNo;//;
		
		private string _CarEnginNo;//;
		
		private string _CarIDNo;//;
		
		private string _CarOwnerName;//;
		
		private string _CarOwnerAddr;//;
		
		private string _GCarNo;//;
		
		private string _GCarIDNo;//;
		
		private string _IDShot;//;
		
		private string _FingerShot;//;
		
		private string _CamShot;//;
		
		private string _Custom1;//;
		
		private string _Custom2;//;
		
		private string _MemType;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemCardNo
		{
			get{ 
				return _MemCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardNo,_MemCardNo,value);
				this._MemCardNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CompanyID
		{
			get{ 
				return _CompanyID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyID,_CompanyID,value);
				this._CompanyID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemTypeID
		{
			get{ 
				return _MemTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemTypeID,_MemTypeID,value);
				this._MemTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartDate
		{
			get{ 
				return _StartDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.StartDate,_StartDate,value);
				this._StartDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ExpireDate
		{
			get{ 
				return _ExpireDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.ExpireDate,_ExpireDate,value);
				this._ExpireDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? LeftCash
		{
			get{ 
				return _LeftCash;
			 }
			set
			{
				this.OnPropertyValueChange(_.LeftCash,_LeftCash,value);
				this._LeftCash=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? LeftTimes
		{
			get{ 
				return _LeftTimes;
			 }
			set
			{
				this.OnPropertyValueChange(_.LeftTimes,_LeftTimes,value);
				this._LeftTimes=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MemberID
		{
			get{ 
				return _MemberID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemberID,_MemberID,value);
				this._MemberID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Expr1
		{
			get{ 
				return _Expr1;
			 }
			set
			{
				this.OnPropertyValueChange(_.Expr1,_Expr1,value);
				this._Expr1=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RegistID
		{
			get{ 
				return _RegistID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RegistID,_RegistID,value);
				this._RegistID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get{ 
				return _Name;
			 }
			set
			{
				this.OnPropertyValueChange(_.Name,_Name,value);
				this._Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? Sex
		{
			get{ 
				return _Sex;
			 }
			set
			{
				this.OnPropertyValueChange(_.Sex,_Sex,value);
				this._Sex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? Birthday
		{
			get{ 
				return _Birthday;
			 }
			set
			{
				this.OnPropertyValueChange(_.Birthday,_Birthday,value);
				this._Birthday=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IDNumber
		{
			get{ 
				return _IDNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.IDNumber,_IDNumber,value);
				this._IDNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IDAddress
		{
			get{ 
				return _IDAddress;
			 }
			set
			{
				this.OnPropertyValueChange(_.IDAddress,_IDAddress,value);
				this._IDAddress=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Cell
		{
			get{ 
				return _Cell;
			 }
			set
			{
				this.OnPropertyValueChange(_.Cell,_Cell,value);
				this._Cell=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone
		{
			get{ 
				return _Phone;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DLName
		{
			get{ 
				return _DLName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DLName,_DLName,value);
				this._DLName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? DLSex
		{
			get{ 
				return _DLSex;
			 }
			set
			{
				this.OnPropertyValueChange(_.DLSex,_DLSex,value);
				this._DLSex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DLNumber
		{
			get{ 
				return _DLNumber;
			 }
			set
			{
				this.OnPropertyValueChange(_.DLNumber,_DLNumber,value);
				this._DLNumber=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DLAddress
		{
			get{ 
				return _DLAddress;
			 }
			set
			{
				this.OnPropertyValueChange(_.DLAddress,_DLAddress,value);
				this._DLAddress=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarNo
		{
			get{ 
				return _CarNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarNo,_CarNo,value);
				this._CarNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarEnginNo
		{
			get{ 
				return _CarEnginNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarEnginNo,_CarEnginNo,value);
				this._CarEnginNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarIDNo
		{
			get{ 
				return _CarIDNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarIDNo,_CarIDNo,value);
				this._CarIDNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarOwnerName
		{
			get{ 
				return _CarOwnerName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarOwnerName,_CarOwnerName,value);
				this._CarOwnerName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CarOwnerAddr
		{
			get{ 
				return _CarOwnerAddr;
			 }
			set
			{
				this.OnPropertyValueChange(_.CarOwnerAddr,_CarOwnerAddr,value);
				this._CarOwnerAddr=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string GCarNo
		{
			get{ 
				return _GCarNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.GCarNo,_GCarNo,value);
				this._GCarNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string GCarIDNo
		{
			get{ 
				return _GCarIDNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.GCarIDNo,_GCarIDNo,value);
				this._GCarIDNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IDShot
		{
			get{ 
				return _IDShot;
			 }
			set
			{
				this.OnPropertyValueChange(_.IDShot,_IDShot,value);
				this._IDShot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string FingerShot
		{
			get{ 
				return _FingerShot;
			 }
			set
			{
				this.OnPropertyValueChange(_.FingerShot,_FingerShot,value);
				this._FingerShot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CamShot
		{
			get{ 
				return _CamShot;
			 }
			set
			{
				this.OnPropertyValueChange(_.CamShot,_CamShot,value);
				this._CamShot=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Custom1
		{
			get{ 
				return _Custom1;
			 }
			set
			{
				this.OnPropertyValueChange(_.Custom1,_Custom1,value);
				this._Custom1=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Custom2
		{
			get{ 
				return _Custom2;
			 }
			set
			{
				this.OnPropertyValueChange(_.Custom2,_Custom2,value);
				this._Custom2=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemType
		{
			get{ 
				return _MemType;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemType,_MemType,value);
				this._MemType=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MemCardID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MemCardID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MemCardID,

			
			_.MemCardNo,

			
			_.StatusID,

			
			_.CompanyID,

			
			_.MemTypeID,

			
			_.StartDate,

			
			_.ExpireDate,

			
			_.LeftCash,

			
			_.LeftTimes,

			
			_.MemberID,

			
			_.Expr1,

			
			_.RegistID,

			
			_.Name,

			
			_.Sex,

			
			_.Birthday,

			
			_.IDNumber,

			
			_.IDAddress,

			
			_.Cell,

			
			_.Phone,

			
			_.DLName,

			
			_.DLSex,

			
			_.DLNumber,

			
			_.DLAddress,

			
			_.CarNo,

			
			_.CarEnginNo,

			
			_.CarIDNo,

			
			_.CarOwnerName,

			
			_.CarOwnerAddr,

			
			_.GCarNo,

			
			_.GCarIDNo,

			
			_.IDShot,

			
			_.FingerShot,

			
			_.CamShot,

			
			_.Custom1,

			
			_.Custom2,

			
			_.MemType

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MemCardID,

			
			this._MemCardNo,

			
			this._StatusID,

			
			this._CompanyID,

			
			this._MemTypeID,

			
			this._StartDate,

			
			this._ExpireDate,

			
			this._LeftCash,

			
			this._LeftTimes,

			
			this._MemberID,

			
			this._Expr1,

			
			this._RegistID,

			
			this._Name,

			
			this._Sex,

			
			this._Birthday,

			
			this._IDNumber,

			
			this._IDAddress,

			
			this._Cell,

			
			this._Phone,

			
			this._DLName,

			
			this._DLSex,

			
			this._DLNumber,

			
			this._DLAddress,

			
			this._CarNo,

			
			this._CarEnginNo,

			
			this._CarIDNo,

			
			this._CarOwnerName,

			
			this._CarOwnerAddr,

			
			this._GCarNo,

			
			this._GCarIDNo,

			
			this._IDShot,

			
			this._FingerShot,

			
			this._CamShot,

			
			this._Custom1,

			
			this._Custom2,

			
			this._MemType

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MemCardID = DataUtils.ConvertValue<int>(reader["MemCardID"]);
						this._MemCardNo = DataUtils.ConvertValue<string>(reader["MemCardNo"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._CompanyID = DataUtils.ConvertValue<int?>(reader["CompanyID"]);
						this._MemTypeID = DataUtils.ConvertValue<int?>(reader["MemTypeID"]);
						this._StartDate = DataUtils.ConvertValue<DateTime?>(reader["StartDate"]);
						this._ExpireDate = DataUtils.ConvertValue<DateTime?>(reader["ExpireDate"]);
						this._LeftCash = DataUtils.ConvertValue<decimal?>(reader["LeftCash"]);
						this._LeftTimes = DataUtils.ConvertValue<int?>(reader["LeftTimes"]);
						this._MemberID = DataUtils.ConvertValue<int?>(reader["MemberID"]);
						this._Expr1 = DataUtils.ConvertValue<int?>(reader["Expr1"]);
						this._RegistID = DataUtils.ConvertValue<string>(reader["RegistID"]);
						this._Name = DataUtils.ConvertValue<string>(reader["Name"]);
						this._Sex = DataUtils.ConvertValue<bool?>(reader["Sex"]);
						this._Birthday = DataUtils.ConvertValue<DateTime?>(reader["Birthday"]);
						this._IDNumber = DataUtils.ConvertValue<string>(reader["IDNumber"]);
						this._IDAddress = DataUtils.ConvertValue<string>(reader["IDAddress"]);
						this._Cell = DataUtils.ConvertValue<string>(reader["Cell"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._DLName = DataUtils.ConvertValue<string>(reader["DLName"]);
						this._DLSex = DataUtils.ConvertValue<bool?>(reader["DLSex"]);
						this._DLNumber = DataUtils.ConvertValue<string>(reader["DLNumber"]);
						this._DLAddress = DataUtils.ConvertValue<string>(reader["DLAddress"]);
						this._CarNo = DataUtils.ConvertValue<string>(reader["CarNo"]);
						this._CarEnginNo = DataUtils.ConvertValue<string>(reader["CarEnginNo"]);
						this._CarIDNo = DataUtils.ConvertValue<string>(reader["CarIDNo"]);
						this._CarOwnerName = DataUtils.ConvertValue<string>(reader["CarOwnerName"]);
						this._CarOwnerAddr = DataUtils.ConvertValue<string>(reader["CarOwnerAddr"]);
						this._GCarNo = DataUtils.ConvertValue<string>(reader["GCarNo"]);
						this._GCarIDNo = DataUtils.ConvertValue<string>(reader["GCarIDNo"]);
						this._IDShot = DataUtils.ConvertValue<string>(reader["IDShot"]);
						this._FingerShot = DataUtils.ConvertValue<string>(reader["FingerShot"]);
						this._CamShot = DataUtils.ConvertValue<string>(reader["CamShot"]);
						this._Custom1 = DataUtils.ConvertValue<string>(reader["Custom1"]);
						this._Custom2 = DataUtils.ConvertValue<string>(reader["Custom2"]);
						this._MemType = DataUtils.ConvertValue<string>(reader["MemType"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MemCardID = DataUtils.ConvertValue<int>(row["MemCardID"]);
					this._MemCardNo = DataUtils.ConvertValue<string>(row["MemCardNo"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._CompanyID = DataUtils.ConvertValue<int?>(row["CompanyID"]);
					this._MemTypeID = DataUtils.ConvertValue<int?>(row["MemTypeID"]);
					this._StartDate = DataUtils.ConvertValue<DateTime?>(row["StartDate"]);
					this._ExpireDate = DataUtils.ConvertValue<DateTime?>(row["ExpireDate"]);
					this._LeftCash = DataUtils.ConvertValue<decimal?>(row["LeftCash"]);
					this._LeftTimes = DataUtils.ConvertValue<int?>(row["LeftTimes"]);
					this._MemberID = DataUtils.ConvertValue<int?>(row["MemberID"]);
					this._Expr1 = DataUtils.ConvertValue<int?>(row["Expr1"]);
					this._RegistID = DataUtils.ConvertValue<string>(row["RegistID"]);
					this._Name = DataUtils.ConvertValue<string>(row["Name"]);
					this._Sex = DataUtils.ConvertValue<bool?>(row["Sex"]);
					this._Birthday = DataUtils.ConvertValue<DateTime?>(row["Birthday"]);
					this._IDNumber = DataUtils.ConvertValue<string>(row["IDNumber"]);
					this._IDAddress = DataUtils.ConvertValue<string>(row["IDAddress"]);
					this._Cell = DataUtils.ConvertValue<string>(row["Cell"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._DLName = DataUtils.ConvertValue<string>(row["DLName"]);
					this._DLSex = DataUtils.ConvertValue<bool?>(row["DLSex"]);
					this._DLNumber = DataUtils.ConvertValue<string>(row["DLNumber"]);
					this._DLAddress = DataUtils.ConvertValue<string>(row["DLAddress"]);
					this._CarNo = DataUtils.ConvertValue<string>(row["CarNo"]);
					this._CarEnginNo = DataUtils.ConvertValue<string>(row["CarEnginNo"]);
					this._CarIDNo = DataUtils.ConvertValue<string>(row["CarIDNo"]);
					this._CarOwnerName = DataUtils.ConvertValue<string>(row["CarOwnerName"]);
					this._CarOwnerAddr = DataUtils.ConvertValue<string>(row["CarOwnerAddr"]);
					this._GCarNo = DataUtils.ConvertValue<string>(row["GCarNo"]);
					this._GCarIDNo = DataUtils.ConvertValue<string>(row["GCarIDNo"]);
					this._IDShot = DataUtils.ConvertValue<string>(row["IDShot"]);
					this._FingerShot = DataUtils.ConvertValue<string>(row["FingerShot"]);
					this._CamShot = DataUtils.ConvertValue<string>(row["CamShot"]);
					this._Custom1 = DataUtils.ConvertValue<string>(row["Custom1"]);
					this._Custom2 = DataUtils.ConvertValue<string>(row["Custom2"]);
					this._MemType = DataUtils.ConvertValue<string>(row["MemType"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_MemCardInfoType");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardNo = new Field("MemCardNo","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyID = new Field("CompanyID","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemTypeID = new Field("MemTypeID","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StartDate = new Field("StartDate","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ExpireDate = new Field("ExpireDate","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LeftCash = new Field("LeftCash","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LeftTimes = new Field("LeftTimes","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemberID = new Field("MemberID","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Expr1 = new Field("Expr1","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RegistID = new Field("RegistID","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Name = new Field("Name","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sex = new Field("Sex","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Birthday = new Field("Birthday","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IDNumber = new Field("IDNumber","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IDAddress = new Field("IDAddress","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Cell = new Field("Cell","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone = new Field("Phone","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DLName = new Field("DLName","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DLSex = new Field("DLSex","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DLNumber = new Field("DLNumber","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DLAddress = new Field("DLAddress","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarNo = new Field("CarNo","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarEnginNo = new Field("CarEnginNo","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarIDNo = new Field("CarIDNo","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarOwnerName = new Field("CarOwnerName","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CarOwnerAddr = new Field("CarOwnerAddr","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field GCarNo = new Field("GCarNo","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field GCarIDNo = new Field("GCarIDNo","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IDShot = new Field("IDShot","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field FingerShot = new Field("FingerShot","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CamShot = new Field("CamShot","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Custom1 = new Field("Custom1","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Custom2 = new Field("Custom2","V_MemCardInfoType","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemType = new Field("MemType","V_MemCardInfoType","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_MemEnterLog
    /// <summary>
	/// 实体类V_MemEnterLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_MemEnterLog : Entity 
	{
	 /// <summary>
	/// 实体类V_MemEnterLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_MemEnterLog():base("V_MemEnterLog") {}

		#region Model

		
		private int _MemEnterLogID;//;
		
		private int _MemCardID;//;
		
		private int? _DoorID;//;
		
		private DateTime? _EnterTime;//;
		
		private bool? _IsExit;//;
		
		private int? _CardExpenseLogID;//;
		
		private string _DoorName;//;
		
		private string _MemCardNo;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int MemEnterLogID
		{
			get{ 
				return _MemEnterLogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemEnterLogID,_MemEnterLogID,value);
				this._MemEnterLogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int MemCardID
		{
			get{ 
				return _MemCardID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardID,_MemCardID,value);
				this._MemCardID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DoorID
		{
			get{ 
				return _DoorID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DoorID,_DoorID,value);
				this._DoorID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EnterTime
		{
			get{ 
				return _EnterTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.EnterTime,_EnterTime,value);
				this._EnterTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsExit
		{
			get{ 
				return _IsExit;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsExit,_IsExit,value);
				this._IsExit=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? CardExpenseLogID
		{
			get{ 
				return _CardExpenseLogID;
			 }
			set
			{
				this.OnPropertyValueChange(_.CardExpenseLogID,_CardExpenseLogID,value);
				this._CardExpenseLogID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DoorName
		{
			get{ 
				return _DoorName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DoorName,_DoorName,value);
				this._DoorName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MemCardNo
		{
			get{ 
				return _MemCardNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.MemCardNo,_MemCardNo,value);
				this._MemCardNo=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MemEnterLogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MemEnterLogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MemEnterLogID,

			
			_.MemCardID,

			
			_.DoorID,

			
			_.EnterTime,

			
			_.IsExit,

			
			_.CardExpenseLogID,

			
			_.DoorName,

			
			_.MemCardNo

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MemEnterLogID,

			
			this._MemCardID,

			
			this._DoorID,

			
			this._EnterTime,

			
			this._IsExit,

			
			this._CardExpenseLogID,

			
			this._DoorName,

			
			this._MemCardNo

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MemEnterLogID = DataUtils.ConvertValue<int>(reader["MemEnterLogID"]);
						this._MemCardID = DataUtils.ConvertValue<int>(reader["MemCardID"]);
						this._DoorID = DataUtils.ConvertValue<int?>(reader["DoorID"]);
						this._EnterTime = DataUtils.ConvertValue<DateTime?>(reader["EnterTime"]);
						this._IsExit = DataUtils.ConvertValue<bool?>(reader["IsExit"]);
						this._CardExpenseLogID = DataUtils.ConvertValue<int?>(reader["CardExpenseLogID"]);
						this._DoorName = DataUtils.ConvertValue<string>(reader["DoorName"]);
						this._MemCardNo = DataUtils.ConvertValue<string>(reader["MemCardNo"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MemEnterLogID = DataUtils.ConvertValue<int>(row["MemEnterLogID"]);
					this._MemCardID = DataUtils.ConvertValue<int>(row["MemCardID"]);
					this._DoorID = DataUtils.ConvertValue<int?>(row["DoorID"]);
					this._EnterTime = DataUtils.ConvertValue<DateTime?>(row["EnterTime"]);
					this._IsExit = DataUtils.ConvertValue<bool?>(row["IsExit"]);
					this._CardExpenseLogID = DataUtils.ConvertValue<int?>(row["CardExpenseLogID"]);
					this._DoorName = DataUtils.ConvertValue<string>(row["DoorName"]);
					this._MemCardNo = DataUtils.ConvertValue<string>(row["MemCardNo"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_MemEnterLog");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemEnterLogID = new Field("MemEnterLogID","V_MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardID = new Field("MemCardID","V_MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DoorID = new Field("DoorID","V_MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EnterTime = new Field("EnterTime","V_MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsExit = new Field("IsExit","V_MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CardExpenseLogID = new Field("CardExpenseLogID","V_MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DoorName = new Field("DoorName","V_MemEnterLog","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MemCardNo = new Field("MemCardNo","V_MemEnterLog","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_RoleMenu
    /// <summary>
	/// 实体类V_RoleMenu 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_RoleMenu : Entity 
	{
	 /// <summary>
	/// 实体类V_RoleMenu 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_RoleMenu():base("V_RoleMenu") {}

		#region Model

		
		private int? _MenuID;//;
		
		private string _MenuName;//;
		
		private string _WebUrl;//;
		
		private int _RoleID;//;
		
		private bool? _IsShow;//;
		
		private int? _ParentID;//;
		
		private string _Node;//;
		
		private int? _MenuNode;//;
		
		private string _IconUrl;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int? MenuID
		{
			get{ 
				return _MenuID;
			 }
			set
			{
				this.OnPropertyValueChange(_.MenuID,_MenuID,value);
				this._MenuID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MenuName
		{
			get{ 
				return _MenuName;
			 }
			set
			{
				this.OnPropertyValueChange(_.MenuName,_MenuName,value);
				this._MenuName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string WebUrl
		{
			get{ 
				return _WebUrl;
			 }
			set
			{
				this.OnPropertyValueChange(_.WebUrl,_WebUrl,value);
				this._WebUrl=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int RoleID
		{
			get{ 
				return _RoleID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleID,_RoleID,value);
				this._RoleID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsShow
		{
			get{ 
				return _IsShow;
			 }
			set
			{
				this.OnPropertyValueChange(_.IsShow,_IsShow,value);
				this._IsShow=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ParentID
		{
			get{ 
				return _ParentID;
			 }
			set
			{
				this.OnPropertyValueChange(_.ParentID,_ParentID,value);
				this._ParentID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Node
		{
			get{ 
				return _Node;
			 }
			set
			{
				this.OnPropertyValueChange(_.Node,_Node,value);
				this._Node=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MenuNode
		{
			get{ 
				return _MenuNode;
			 }
			set
			{
				this.OnPropertyValueChange(_.MenuNode,_MenuNode,value);
				this._MenuNode=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string IconUrl
		{
			get{ 
				return _IconUrl;
			 }
			set
			{
				this.OnPropertyValueChange(_.IconUrl,_IconUrl,value);
				this._IconUrl=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MenuID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MenuID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MenuID,

			
			_.MenuName,

			
			_.WebUrl,

			
			_.RoleID,

			
			_.IsShow,

			
			_.ParentID,

			
			_.Node,

			
			_.MenuNode,

			
			_.IconUrl

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MenuID,

			
			this._MenuName,

			
			this._WebUrl,

			
			this._RoleID,

			
			this._IsShow,

			
			this._ParentID,

			
			this._Node,

			
			this._MenuNode,

			
			this._IconUrl

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MenuID = DataUtils.ConvertValue<int?>(reader["MenuID"]);
						this._MenuName = DataUtils.ConvertValue<string>(reader["MenuName"]);
						this._WebUrl = DataUtils.ConvertValue<string>(reader["WebUrl"]);
						this._RoleID = DataUtils.ConvertValue<int>(reader["RoleID"]);
						this._IsShow = DataUtils.ConvertValue<bool?>(reader["IsShow"]);
						this._ParentID = DataUtils.ConvertValue<int?>(reader["ParentID"]);
						this._Node = DataUtils.ConvertValue<string>(reader["Node"]);
						this._MenuNode = DataUtils.ConvertValue<int?>(reader["MenuNode"]);
						this._IconUrl = DataUtils.ConvertValue<string>(reader["IconUrl"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MenuID = DataUtils.ConvertValue<int?>(row["MenuID"]);
					this._MenuName = DataUtils.ConvertValue<string>(row["MenuName"]);
					this._WebUrl = DataUtils.ConvertValue<string>(row["WebUrl"]);
					this._RoleID = DataUtils.ConvertValue<int>(row["RoleID"]);
					this._IsShow = DataUtils.ConvertValue<bool?>(row["IsShow"]);
					this._ParentID = DataUtils.ConvertValue<int?>(row["ParentID"]);
					this._Node = DataUtils.ConvertValue<string>(row["Node"]);
					this._MenuNode = DataUtils.ConvertValue<int?>(row["MenuNode"]);
					this._IconUrl = DataUtils.ConvertValue<string>(row["IconUrl"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_RoleMenu");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field MenuID = new Field("MenuID","V_RoleMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MenuName = new Field("MenuName","V_RoleMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field WebUrl = new Field("WebUrl","V_RoleMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleID = new Field("RoleID","V_RoleMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsShow = new Field("IsShow","V_RoleMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ParentID = new Field("ParentID","V_RoleMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Node = new Field("Node","V_RoleMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MenuNode = new Field("MenuNode","V_RoleMenu","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IconUrl = new Field("IconUrl","V_RoleMenu","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_RoleUser
    /// <summary>
	/// 实体类V_RoleUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_RoleUser : Entity 
	{
	 /// <summary>
	/// 实体类V_RoleUser 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_RoleUser():base("V_RoleUser") {}

		#region Model

		
		private string _CreateName;//;
		
		private int _RoleID;//;
		
		private string _RoleName;//;
		
		private string _Description;//;
		
		private DateTime? _CreateDate;//;
		
		private int? _PCount;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string CreateName
		{
			get{ 
				return _CreateName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateName,_CreateName,value);
				this._CreateName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int RoleID
		{
			get{ 
				return _RoleID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleID,_RoleID,value);
				this._RoleID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoleName
		{
			get{ 
				return _RoleName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleName,_RoleName,value);
				this._RoleName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ 
				return _Description;
			 }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			get{ 
				return _CreateDate;
			 }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? PCount
		{
			get{ 
				return _PCount;
			 }
			set
			{
				this.OnPropertyValueChange(_.PCount,_PCount,value);
				this._PCount=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.CreateName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.CreateName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.CreateName,

			
			_.RoleID,

			
			_.RoleName,

			
			_.Description,

			
			_.CreateDate,

			
			_.PCount

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._CreateName,

			
			this._RoleID,

			
			this._RoleName,

			
			this._Description,

			
			this._CreateDate,

			
			this._PCount

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._CreateName = DataUtils.ConvertValue<string>(reader["CreateName"]);
						this._RoleID = DataUtils.ConvertValue<int>(reader["RoleID"]);
						this._RoleName = DataUtils.ConvertValue<string>(reader["RoleName"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._PCount = DataUtils.ConvertValue<int?>(reader["PCount"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._CreateName = DataUtils.ConvertValue<string>(row["CreateName"]);
					this._RoleID = DataUtils.ConvertValue<int>(row["RoleID"]);
					this._RoleName = DataUtils.ConvertValue<string>(row["RoleName"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._PCount = DataUtils.ConvertValue<int?>(row["PCount"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_RoleUser");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateName = new Field("CreateName","V_RoleUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleID = new Field("RoleID","V_RoleUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleName = new Field("RoleName","V_RoleUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","V_RoleUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","V_RoleUser","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PCount = new Field("PCount","V_RoleUser","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_RoomCompany
    /// <summary>
	/// 实体类V_RoomCompany 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_RoomCompany : Entity 
	{
	 /// <summary>
	/// 实体类V_RoomCompany 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_RoomCompany():base("V_RoomCompany") {}

		#region Model

		
		private int _RoomID;//;
		
		private string _CompanyName;//;
		
		private string _RoomNo;//;
		
		private string _RoomName;//;
		
		private int? _RoomTypeID;//;
		
		private int? _AreaID;//;
		
		private decimal? _SqMeters;//;
		
		private decimal? _RentalPrice;//;
		
		private int? _StatusID;//;
		
		private string _ScreenNo;//;
		
		private string _LedIP;//;
		
		/// <summary>
		/// 
		/// </summary>
		public int RoomID
		{
			get{ 
				return _RoomID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomID,_RoomID,value);
				this._RoomID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CompanyName
		{
			get{ 
				return _CompanyName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyName,_CompanyName,value);
				this._CompanyName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoomNo
		{
			get{ 
				return _RoomNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomNo,_RoomNo,value);
				this._RoomNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoomName
		{
			get{ 
				return _RoomName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomName,_RoomName,value);
				this._RoomName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? RoomTypeID
		{
			get{ 
				return _RoomTypeID;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoomTypeID,_RoomTypeID,value);
				this._RoomTypeID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AreaID
		{
			get{ 
				return _AreaID;
			 }
			set
			{
				this.OnPropertyValueChange(_.AreaID,_AreaID,value);
				this._AreaID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? SqMeters
		{
			get{ 
				return _SqMeters;
			 }
			set
			{
				this.OnPropertyValueChange(_.SqMeters,_SqMeters,value);
				this._SqMeters=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? RentalPrice
		{
			get{ 
				return _RentalPrice;
			 }
			set
			{
				this.OnPropertyValueChange(_.RentalPrice,_RentalPrice,value);
				this._RentalPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ScreenNo
		{
			get{ 
				return _ScreenNo;
			 }
			set
			{
				this.OnPropertyValueChange(_.ScreenNo,_ScreenNo,value);
				this._ScreenNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string LedIP
		{
			get{ 
				return _LedIP;
			 }
			set
			{
				this.OnPropertyValueChange(_.LedIP,_LedIP,value);
				this._LedIP=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.RoomID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.RoomID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.RoomID,

			
			_.CompanyName,

			
			_.RoomNo,

			
			_.RoomName,

			
			_.RoomTypeID,

			
			_.AreaID,

			
			_.SqMeters,

			
			_.RentalPrice,

			
			_.StatusID,

			
			_.ScreenNo,

			
			_.LedIP

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._RoomID,

			
			this._CompanyName,

			
			this._RoomNo,

			
			this._RoomName,

			
			this._RoomTypeID,

			
			this._AreaID,

			
			this._SqMeters,

			
			this._RentalPrice,

			
			this._StatusID,

			
			this._ScreenNo,

			
			this._LedIP

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._RoomID = DataUtils.ConvertValue<int>(reader["RoomID"]);
						this._CompanyName = DataUtils.ConvertValue<string>(reader["CompanyName"]);
						this._RoomNo = DataUtils.ConvertValue<string>(reader["RoomNo"]);
						this._RoomName = DataUtils.ConvertValue<string>(reader["RoomName"]);
						this._RoomTypeID = DataUtils.ConvertValue<int?>(reader["RoomTypeID"]);
						this._AreaID = DataUtils.ConvertValue<int?>(reader["AreaID"]);
						this._SqMeters = DataUtils.ConvertValue<decimal?>(reader["SqMeters"]);
						this._RentalPrice = DataUtils.ConvertValue<decimal?>(reader["RentalPrice"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._ScreenNo = DataUtils.ConvertValue<string>(reader["ScreenNo"]);
						this._LedIP = DataUtils.ConvertValue<string>(reader["LedIP"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._RoomID = DataUtils.ConvertValue<int>(row["RoomID"]);
					this._CompanyName = DataUtils.ConvertValue<string>(row["CompanyName"]);
					this._RoomNo = DataUtils.ConvertValue<string>(row["RoomNo"]);
					this._RoomName = DataUtils.ConvertValue<string>(row["RoomName"]);
					this._RoomTypeID = DataUtils.ConvertValue<int?>(row["RoomTypeID"]);
					this._AreaID = DataUtils.ConvertValue<int?>(row["AreaID"]);
					this._SqMeters = DataUtils.ConvertValue<decimal?>(row["SqMeters"]);
					this._RentalPrice = DataUtils.ConvertValue<decimal?>(row["RentalPrice"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._ScreenNo = DataUtils.ConvertValue<string>(row["ScreenNo"]);
					this._LedIP = DataUtils.ConvertValue<string>(row["LedIP"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_RoomCompany");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomID = new Field("RoomID","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyName = new Field("CompanyName","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomNo = new Field("RoomNo","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomName = new Field("RoomName","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoomTypeID = new Field("RoomTypeID","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AreaID = new Field("AreaID","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SqMeters = new Field("SqMeters","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RentalPrice = new Field("RentalPrice","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ScreenNo = new Field("ScreenNo","V_RoomCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LedIP = new Field("LedIP","V_RoomCompany","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_UserCompany
    /// <summary>
	/// 实体类V_UserCompany 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_UserCompany : Entity 
	{
	 /// <summary>
	/// 实体类V_UserCompany 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_UserCompany():base("V_UserCompany") {}

		#region Model

		
		private string _UserName;//;
		
		private int? _StatusID;//;
		
		private bool? _Sex;//;
		
		private string _RealName;//;
		
		private DateTime? _LoginTime;//;
		
		private string _CompanyName;//;
		
		private int _UserID;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? Sex
		{
			get{ 
				return _Sex;
			 }
			set
			{
				this.OnPropertyValueChange(_.Sex,_Sex,value);
				this._Sex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RealName
		{
			get{ 
				return _RealName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RealName,_RealName,value);
				this._RealName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LoginTime
		{
			get{ 
				return _LoginTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.LoginTime,_LoginTime,value);
				this._LoginTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CompanyName
		{
			get{ 
				return _CompanyName;
			 }
			set
			{
				this.OnPropertyValueChange(_.CompanyName,_CompanyName,value);
				this._CompanyName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int UserID
		{
			get{ 
				return _UserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserID,_UserID,value);
				this._UserID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.UserName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.UserName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.UserName,

			
			_.StatusID,

			
			_.Sex,

			
			_.RealName,

			
			_.LoginTime,

			
			_.CompanyName,

			
			_.UserID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._UserName,

			
			this._StatusID,

			
			this._Sex,

			
			this._RealName,

			
			this._LoginTime,

			
			this._CompanyName,

			
			this._UserID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._Sex = DataUtils.ConvertValue<bool?>(reader["Sex"]);
						this._RealName = DataUtils.ConvertValue<string>(reader["RealName"]);
						this._LoginTime = DataUtils.ConvertValue<DateTime?>(reader["LoginTime"]);
						this._CompanyName = DataUtils.ConvertValue<string>(reader["CompanyName"]);
						this._UserID = DataUtils.ConvertValue<int>(reader["UserID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._Sex = DataUtils.ConvertValue<bool?>(row["Sex"]);
					this._RealName = DataUtils.ConvertValue<string>(row["RealName"]);
					this._LoginTime = DataUtils.ConvertValue<DateTime?>(row["LoginTime"]);
					this._CompanyName = DataUtils.ConvertValue<string>(row["CompanyName"]);
					this._UserID = DataUtils.ConvertValue<int>(row["UserID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_UserCompany");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_UserCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_UserCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sex = new Field("Sex","V_UserCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RealName = new Field("RealName","V_UserCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LoginTime = new Field("LoginTime","V_UserCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CompanyName = new Field("CompanyName","V_UserCompany","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserID = new Field("UserID","V_UserCompany","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_UserDepartRole
    /// <summary>
	/// 实体类V_UserDepartRole 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_UserDepartRole : Entity 
	{
	 /// <summary>
	/// 实体类V_UserDepartRole 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_UserDepartRole():base("V_UserDepartRole") {}

		#region Model

		
		private string _DeptName;//;
		
		private int _UserID;//;
		
		private string _UserName;//;
		
		private string _UserPwd;//;
		
		private int? _StatusID;//;
		
		private int? _DeptID;//;
		
		private bool? _Sex;//;
		
		private DateTime? _Birthday;//;
		
		private string _Phone1;//;
		
		private string _Phone2;//;
		
		private string _RealName;//;
		
		private DateTime? _LoginTime;//;
		
		private string _RoleName;//;
		
		/// <summary>
		/// 
		/// </summary>
		public string DeptName
		{
			get{ 
				return _DeptName;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptName,_DeptName,value);
				this._DeptName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int UserID
		{
			get{ 
				return _UserID;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserID,_UserID,value);
				this._UserID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserName
		{
			get{ 
				return _UserName;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UserPwd
		{
			get{ 
				return _UserPwd;
			 }
			set
			{
				this.OnPropertyValueChange(_.UserPwd,_UserPwd,value);
				this._UserPwd=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StatusID
		{
			get{ 
				return _StatusID;
			 }
			set
			{
				this.OnPropertyValueChange(_.StatusID,_StatusID,value);
				this._StatusID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DeptID
		{
			get{ 
				return _DeptID;
			 }
			set
			{
				this.OnPropertyValueChange(_.DeptID,_DeptID,value);
				this._DeptID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? Sex
		{
			get{ 
				return _Sex;
			 }
			set
			{
				this.OnPropertyValueChange(_.Sex,_Sex,value);
				this._Sex=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? Birthday
		{
			get{ 
				return _Birthday;
			 }
			set
			{
				this.OnPropertyValueChange(_.Birthday,_Birthday,value);
				this._Birthday=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone1
		{
			get{ 
				return _Phone1;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone1,_Phone1,value);
				this._Phone1=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Phone2
		{
			get{ 
				return _Phone2;
			 }
			set
			{
				this.OnPropertyValueChange(_.Phone2,_Phone2,value);
				this._Phone2=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RealName
		{
			get{ 
				return _RealName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RealName,_RealName,value);
				this._RealName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LoginTime
		{
			get{ 
				return _LoginTime;
			 }
			set
			{
				this.OnPropertyValueChange(_.LoginTime,_LoginTime,value);
				this._LoginTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string RoleName
		{
			get{ 
				return _RoleName;
			 }
			set
			{
				this.OnPropertyValueChange(_.RoleName,_RoleName,value);
				this._RoleName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.DeptName;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.DeptName};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.DeptName,

			
			_.UserID,

			
			_.UserName,

			
			_.UserPwd,

			
			_.StatusID,

			
			_.DeptID,

			
			_.Sex,

			
			_.Birthday,

			
			_.Phone1,

			
			_.Phone2,

			
			_.RealName,

			
			_.LoginTime,

			
			_.RoleName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._DeptName,

			
			this._UserID,

			
			this._UserName,

			
			this._UserPwd,

			
			this._StatusID,

			
			this._DeptID,

			
			this._Sex,

			
			this._Birthday,

			
			this._Phone1,

			
			this._Phone2,

			
			this._RealName,

			
			this._LoginTime,

			
			this._RoleName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._DeptName = DataUtils.ConvertValue<string>(reader["DeptName"]);
						this._UserID = DataUtils.ConvertValue<int>(reader["UserID"]);
						this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
						this._UserPwd = DataUtils.ConvertValue<string>(reader["UserPwd"]);
						this._StatusID = DataUtils.ConvertValue<int?>(reader["StatusID"]);
						this._DeptID = DataUtils.ConvertValue<int?>(reader["DeptID"]);
						this._Sex = DataUtils.ConvertValue<bool?>(reader["Sex"]);
						this._Birthday = DataUtils.ConvertValue<DateTime?>(reader["Birthday"]);
						this._Phone1 = DataUtils.ConvertValue<string>(reader["Phone1"]);
						this._Phone2 = DataUtils.ConvertValue<string>(reader["Phone2"]);
						this._RealName = DataUtils.ConvertValue<string>(reader["RealName"]);
						this._LoginTime = DataUtils.ConvertValue<DateTime?>(reader["LoginTime"]);
						this._RoleName = DataUtils.ConvertValue<string>(reader["RoleName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._DeptName = DataUtils.ConvertValue<string>(row["DeptName"]);
					this._UserID = DataUtils.ConvertValue<int>(row["UserID"]);
					this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					this._UserPwd = DataUtils.ConvertValue<string>(row["UserPwd"]);
					this._StatusID = DataUtils.ConvertValue<int?>(row["StatusID"]);
					this._DeptID = DataUtils.ConvertValue<int?>(row["DeptID"]);
					this._Sex = DataUtils.ConvertValue<bool?>(row["Sex"]);
					this._Birthday = DataUtils.ConvertValue<DateTime?>(row["Birthday"]);
					this._Phone1 = DataUtils.ConvertValue<string>(row["Phone1"]);
					this._Phone2 = DataUtils.ConvertValue<string>(row["Phone2"]);
					this._RealName = DataUtils.ConvertValue<string>(row["RealName"]);
					this._LoginTime = DataUtils.ConvertValue<DateTime?>(row["LoginTime"]);
					this._RoleName = DataUtils.ConvertValue<string>(row["RoleName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_UserDepartRole");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptName = new Field("DeptName","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserID = new Field("UserID","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserName = new Field("UserName","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserPwd = new Field("UserPwd","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StatusID = new Field("StatusID","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptID = new Field("DeptID","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sex = new Field("Sex","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Birthday = new Field("Birthday","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone1 = new Field("Phone1","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Phone2 = new Field("Phone2","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RealName = new Field("RealName","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LoginTime = new Field("LoginTime","V_UserDepartRole","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field RoleName = new Field("RoleName","V_UserDepartRole","");
					}
		#endregion


	}
	#endregion
		
}

